<commit_before>diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index 7aba412..f57902a 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -81,7 +81,13 @@ const void* PPP_GetInterface(const char* interface_name) {
   return pp::Module::Get()->GetPluginInterface(interface_name);
 }
 
+}  // namespace chrome_pdf
+
+
+extern "C" {
+
 #if defined(OS_WIN)
+PDF_EXPORT
 bool RenderPDFPageToDC(const void* pdf_buffer,
                                  int buffer_size,
                                  int page_number,
@@ -118,6 +124,7 @@ bool RenderPDFPageToDC(const void* pdf_buffer,
 
 #endif  // OS_WIN
 
+PDF_EXPORT
 bool GetPDFDocInfo(const void* pdf_buffer,
                    int buffer_size, int* page_count,
                    double* max_page_width) {
@@ -176,4 +183,4 @@ bool RenderPDFPageToBitmap(const void* pdf_buffer,
   return ret;
 }
 
-}  // namespace chrome_pdf
+}<commit_msg>Update export_pdf.patch.<commit_after>diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index 7aba412..f57902a 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -78,7 +78,13 @@ const void* PPP_GetInterface(const char* interface_name) {
   return pp::Module::Get()->GetPluginInterface(interface_name);
 }
 
+}  // namespace chrome_pdf
+
+
+extern "C" {
+
 #if defined(OS_WIN)
+PDF_EXPORT
 bool RenderPDFPageToDC(const void* pdf_buffer,
                                  int buffer_size,
                                  int page_number,
@@ -115,6 +121,7 @@ bool RenderPDFPageToDC(const void* pdf_buffer,
 
 #endif  // OS_WIN
 
+PDF_EXPORT
 bool GetPDFDocInfo(const void* pdf_buffer,
                    int buffer_size, int* page_count,
                    double* max_page_width) {
@@ -173,4 +180,4 @@ bool RenderPDFPageToBitmap(const void* pdf_buffer,
   return ret;
 }
 
-}  // namespace chrome_pdf
+}
{'fraction_non_alphanumeric': 0.129619101762365, 'fraction_numerical': 0.04320636725412166, 'mean_word_length': 2.5772357723577235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1648053', 'n_tokens_mistral': 670, 'n_tokens_neox': 601, 'n_words': 125}