summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-04-06 06:28:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-06 06:28:31 -0700
commit77d148d54a44a4ed757be2d52ec37685d818a9be (patch)
tree09d2081d644d6ef6d4b3b2b2f5db37aeb207d6ee /fpdfsdk/fpdfview.cpp
parent660956f58af305d72c64bb87c05f694469846df2 (diff)
downloadpdfium-77d148d54a44a4ed757be2d52ec37685d818a9be.tar.xz
Mark FPDF_BStr_* with DLLEXPORT / STDCALL.
BUG=pdfium:464 Review URL: https://codereview.chromium.org/1859303002
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r--fpdfsdk/fpdfview.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index e5a53da739..2b69e94765 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -1044,7 +1044,7 @@ DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document,
}
#ifdef PDF_ENABLE_XFA
-FPDF_RESULT FPDF_BStr_Init(FPDF_BSTR* str) {
+DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Init(FPDF_BSTR* str) {
if (!str)
return -1;
@@ -1052,7 +1052,9 @@ FPDF_RESULT FPDF_BStr_Init(FPDF_BSTR* str) {
return 0;
}
-FPDF_RESULT FPDF_BStr_Set(FPDF_BSTR* str, FPDF_LPCSTR bstr, int length) {
+DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Set(FPDF_BSTR* str,
+ FPDF_LPCSTR bstr,
+ int length) {
if (!str)
return -1;
if (!bstr || !length)
@@ -1084,7 +1086,7 @@ FPDF_RESULT FPDF_BStr_Set(FPDF_BSTR* str, FPDF_LPCSTR bstr, int length) {
return 0;
}
-FPDF_RESULT FPDF_BStr_Clear(FPDF_BSTR* str) {
+DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str) {
if (!str)
return -1;