OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Note: This header should be compilable as C. | 5 // Note: This header should be compilable as C. |
6 | 6 |
7 #ifndef MOJO_PUBLIC_C_GPU_MGL_MGL_ECHO_H_ | 7 #ifndef MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ECHO_H_ |
8 #define MOJO_PUBLIC_C_GPU_MGL_MGL_ECHO_H_ | 8 #define MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ECHO_H_ |
9 | 9 |
| 10 #include <MGL/mgl_types.h> |
| 11 #include <mojo/macros.h> |
10 #include <stdint.h> | 12 #include <stdint.h> |
11 | 13 |
12 #include "mojo/public/c/gpu/MGL/mgl_types.h" | 14 MOJO_BEGIN_EXTERN_C |
13 | |
14 #ifdef __cplusplus | |
15 extern "C" { | |
16 #endif | |
17 | 15 |
18 typedef void (*MGLEchoCallback)(void* closure); | 16 typedef void (*MGLEchoCallback)(void* closure); |
19 | 17 |
20 void MGLEcho(MGLEchoCallback callback, void* closure); | 18 void MGLEcho(MGLEchoCallback callback, void* closure); |
21 | 19 |
22 #ifdef __cplusplus | 20 MOJO_END_EXTERN_C |
23 } // extern "C" | |
24 #endif | |
25 | 21 |
26 #endif // MOJO_PUBLIC_C_GPU_MGL_MGL_ECHO_H_ | 22 #endif // MOJO_PUBLIC_C_INCLUDE_MGL_MGL_ECHO_H_ |
OLD | NEW |