OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Note: This header should be compilable as C. | |
6 | |
7 #ifndef MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ | |
8 #define MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ | |
9 | |
10 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif | |
13 | |
14 typedef struct MGLContextPrivate* MGLContext; | |
15 typedef void (*MGLContextLostCallback)(void* closure); | |
16 typedef void (*MGLSignalSyncPointCallback)(void* closure); | |
17 | |
18 // This is a generic function pointer type, which must be cast to the proper | |
19 // type and calling convention before use. | |
20 typedef void (*MGLMustCastToProperFunctionPointerType)(void); | |
21 | |
22 #ifdef __cplusplus | |
23 } // extern "C" | |
24 #endif | |
25 | |
26 #endif // MOJO_PUBLIC_C_GPU_MGL_TYPES_H_ | |
OLD | NEW |