| Index: mojo/public/c/include/MGL/mgl_signal_sync_point.h
|
| diff --git a/mojo/public/c/gpu/MGL/mgl_signal_sync_point.h b/mojo/public/c/include/MGL/mgl_signal_sync_point.h
|
| similarity index 67%
|
| rename from mojo/public/c/gpu/MGL/mgl_signal_sync_point.h
|
| rename to mojo/public/c/include/MGL/mgl_signal_sync_point.h
|
| index a563c5fbdda6b71e9e5d87bf1776deba493b5e78..0cb0e29d80ce006b91d558a41abe6fc215ec3269 100644
|
| --- a/mojo/public/c/gpu/MGL/mgl_signal_sync_point.h
|
| +++ b/mojo/public/c/include/MGL/mgl_signal_sync_point.h
|
| @@ -4,16 +4,14 @@
|
|
|
| // Note: This header should be compilable as C.
|
|
|
| -#ifndef MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
| -#define MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
| +#ifndef MOJO_PUBLIC_C_INCLUDE_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
| +#define MOJO_PUBLIC_C_INCLUDE_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
|
|
| +#include <MGL/mgl_types.h>
|
| +#include <mojo/macros.h>
|
| #include <stdint.h>
|
|
|
| -#include "mojo/public/c/gpu/MGL/mgl_types.h"
|
| -
|
| -#ifdef __cplusplus
|
| -extern "C" {
|
| -#endif
|
| +MOJO_BEGIN_EXTERN_C
|
|
|
| typedef void (*MGLSyncPointCallback)(void* closure);
|
|
|
| @@ -24,8 +22,6 @@ void MGLSignalSyncPoint(uint32_t sync_point,
|
| MGLSignalSyncPointCallback callback,
|
| void* closure);
|
|
|
| -#ifdef __cplusplus
|
| -} // extern "C"
|
| -#endif
|
| +MOJO_END_EXTERN_C
|
|
|
| -#endif // MOJO_PUBLIC_C_GPU_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
| +#endif // MOJO_PUBLIC_C_INCLUDE_MGL_MGL_SIGNAL_SYNC_POINT_H_
|
|
|