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

Unified Diff: ppapi/c/dev/ppb_context_3d_trusted_dev.h

Issue 6542064: Add some files to the C compilation test, and fix some stuff that wasn't C com... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months 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 | « no previous file | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_context_3d_trusted_dev.h
===================================================================
--- ppapi/c/dev/ppb_context_3d_trusted_dev.h (revision 75765)
+++ ppapi/c/dev/ppb_context_3d_trusted_dev.h (working copy)
@@ -13,7 +13,7 @@
#define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE "PPB_Context3DTrusted(Dev);0.2"
-enum PPB_Context3DTrustedError {
+typedef enum {
kNoError,
kInvalidSize,
kOutOfBounds,
@@ -21,7 +21,7 @@
kInvalidArguments,
kLostContext,
kGenericError
-};
+} PPB_Context3DTrustedError;
struct PP_Context3DTrustedState {
// Size of the command buffer in command buffer entries.
@@ -63,7 +63,7 @@
uint32_t* shm_size);
// Returns the current state.
- PP_Context3DTrustedState (*GetState)(PP_Resource context);
+ struct PP_Context3DTrustedState (*GetState)(PP_Resource context);
// The writer calls this to update its put offset.
PP_Bool (*Flush)(PP_Resource context, int32_t put_offset);
@@ -72,8 +72,8 @@
// The writer calls this to update its put offset. This function returns the
// reader's most recent get offset. Does not return until after the put offset
// change callback has been invoked.
- PP_Context3DTrustedState (*FlushSync)(PP_Resource context,
- int32_t put_offset);
+ struct PP_Context3DTrustedState (*FlushSync)(PP_Resource context,
+ int32_t put_offset);
// Create a transfer buffer and return a handle that uniquely
// identifies it or -1 on error.
« no previous file with comments | « no previous file | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698