From 6f2e3919c4709404d8d7b6742f9cd9989b799c98 Mon Sep 17 00:00:00 2001 From: "dmichael@google.com" Date: Fri, 5 Nov 2010 14:45:44 +0000 Subject: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on Windows). This includes changing bool to PP_Bool and adding a PP_INLINE macro. TEST=tests/test_c_includes.c BUG=59791,53451 The first patch set is a straight copy of http://codereview.chromium.org/4019010/show which got LGTMed when PPAPI was in its own repo, but had to be rolled back in order to include chrome changes. IMPORTANT: This change will break plugin implementations that use the C interface, and might break others as well. Review URL: http://codereview.chromium.org/4310002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65200 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/c/dev/ppp_class_deprecated.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppapi/c/dev/ppp_class_deprecated.h') diff --git a/ppapi/c/dev/ppp_class_deprecated.h b/ppapi/c/dev/ppp_class_deprecated.h index d8a1349..2f82348 100644 --- a/ppapi/c/dev/ppp_class_deprecated.h +++ b/ppapi/c/dev/ppp_class_deprecated.h @@ -5,6 +5,7 @@ #ifndef PPAPI_C_PPP_CLASS_DEPRECATED_H_ #define PPAPI_C_PPP_CLASS_DEPRECATED_H_ +#include "ppapi/c/dev/deprecated_bool.h" #include "ppapi/c/pp_stdint.h" #include "ppapi/c/pp_var.h" @@ -131,4 +132,3 @@ struct PPP_Class_Deprecated { * End addtogroup PPP */ #endif // PPAPI_C_PPP_CLASS_DEPRECATED_H_ - -- cgit v1.1