Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1432)

Unified Diff: ppapi/c/ppb_core.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/ppb_class.h ('k') | ppapi/c/ppb_graphics_2d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_core.h
===================================================================
--- ppapi/c/ppb_core.h (revision 65116)
+++ ppapi/c/ppb_core.h (working copy)
@@ -5,6 +5,7 @@
#ifndef PPAPI_C_PPB_CORE_H_
#define PPAPI_C_PPB_CORE_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_time.h"
@@ -12,7 +13,7 @@
struct PP_CompletionCallback;
-#define PPB_CORE_INTERFACE "PPB_Core;0.1"
+#define PPB_CORE_INTERFACE "PPB_Core;0.2"
/**
* @file
@@ -82,7 +83,7 @@
* This is useful for implementing sanity checks, and deciding if dispatching
* via CallOnMainThread() is required.
*/
- bool (*IsMainThread)();
+ PP_Bool (*IsMainThread)();
};
/**
« no previous file with comments | « ppapi/c/ppb_class.h ('k') | ppapi/c/ppb_graphics_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698