summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-10-28 10:33:05 -0700
committerDoug Zongker <dougz@android.com>2011-10-31 10:24:09 -0700
commit28ce47cfa6919518a8c298088bf08b03bb374c0f (patch)
tree0c429bcc8f4a1935f3be97d87ebdc2f4434ee887 /minui
parentd0181b8fcdac761afec252151a8bfda116916e96 (diff)
downloadbootable_recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.zip
bootable_recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.gz
bootable_recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.bz2
turn recovery into a C++ binary
Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
Diffstat (limited to 'minui')
-rw-r--r--minui/minui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/minui/minui.h b/minui/minui.h
index 2e2f1f4..74da4e9 100644
--- a/minui/minui.h
+++ b/minui/minui.h
@@ -19,6 +19,10 @@
#include <stdbool.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef void* gr_surface;
typedef unsigned short gr_pixel;
@@ -69,4 +73,8 @@ void ev_dispatch(void);
int res_create_surface(const char* name, gr_surface* pSurface);
void res_free_surface(gr_surface surface);
+#ifdef __cplusplus
+}
+#endif
+
#endif