From b2aa54381811383d4a86fbe7b194907c33e8dcc1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 12 May 2015 16:17:04 -0700 Subject: Make (and verify) public/ files compile under C. This involves adding some missing extern "C" { } declarations, using FPDF_ types instead of C++ types, and converting pass by reference arguments into pointers. Test this using fpdfview_embedertest for simplicity. BUG=pdfium:158 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1130843003 --- public/fpdf_ext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/fpdf_ext.h') diff --git a/public/fpdf_ext.h b/public/fpdf_ext.h index 96e3c857fd..a67ac2eacf 100644 --- a/public/fpdf_ext.h +++ b/public/fpdf_ext.h @@ -53,8 +53,8 @@ typedef struct _UNSUPPORT_INFO * None. * */ - void(*FSDK_UnSupport_Handler)(_UNSUPPORT_INFO* pThis,int nType); -}UNSUPPORT_INFO; + void(*FSDK_UnSupport_Handler)(struct _UNSUPPORT_INFO* pThis, int nType); +} UNSUPPORT_INFO; /** -- cgit v1.2.3