From 4bb4e8464f0015ba3c405138ea386adbf7f51c50 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 18 Jul 2017 09:58:58 -0400 Subject: Add missing STDCALL annotations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL adds the missing STDCALL annotations from the PDFium APIs. Bug: pdfium:818 Change-Id: I415efbb68f6f90cc367a4fc7289619764b528ade Reviewed-on: https://pdfium-review.googlesource.com/8031 Reviewed-by: Nicolás Peña Commit-Queue: Nicolás Peña --- fpdfsdk/fpdf_sysfontinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/fpdf_sysfontinfo.cpp') diff --git a/fpdfsdk/fpdf_sysfontinfo.cpp b/fpdfsdk/fpdf_sysfontinfo.cpp index 897f2a28d8..c424152326 100644 --- a/fpdfsdk/fpdf_sysfontinfo.cpp +++ b/fpdfsdk/fpdf_sysfontinfo.cpp @@ -212,7 +212,7 @@ DLLEXPORT FPDF_SYSFONTINFO* STDCALL FPDF_GetDefaultSystemFontInfo() { return pFontInfoExt; } -DLLEXPORT void FPDF_FreeDefaultSystemFontInfo( - FPDF_SYSFONTINFO* pDefaultFontInfo) { +DLLEXPORT void STDCALL +FPDF_FreeDefaultSystemFontInfo(FPDF_SYSFONTINFO* pDefaultFontInfo) { FX_Free(static_cast(pDefaultFontInfo)); } -- cgit v1.2.3