Index: mojo/public/c/gpu/MGL/mgl_types.h |
diff --git a/mojo/public/c/gpu/MGL/mgl_types.h b/mojo/public/c/gpu/MGL/mgl_types.h |
index 22534564cd250f8a0830dcef8e5d6fd34e27fbae..b28aee610b9a4b061bb5e2e7887765523ec92f03 100644 |
--- a/mojo/public/c/gpu/MGL/mgl_types.h |
+++ b/mojo/public/c/gpu/MGL/mgl_types.h |
@@ -15,6 +15,10 @@ typedef struct MGLContextPrivate* MGLContext; |
typedef void (*MGLContextLostCallback)(void* closure); |
typedef void (*MGLSignalSyncPointCallback)(void* closure); |
+// This is a generic function pointer type, which must be cast to the proper |
+// type and calling convention before use. |
+typedef void (*MGLMustCastToProperFunctionPointerType)(void); |
+ |
#ifdef __cplusplus |
} // extern "C" |
#endif |