project_files/frontlib/frontlib.h
branchwebgl
changeset 8096 453917e94e55
parent 8078 ea7541f77944
child 8223 14d9a3c33650
--- a/project_files/frontlib/frontlib.h	Wed Nov 14 00:23:29 2012 +0100
+++ b/project_files/frontlib/frontlib.h	Thu Nov 22 00:41:53 2012 +0100
@@ -26,6 +26,10 @@
 #ifndef FRONTLIB_H_
 #define FRONTLIB_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "ipc/gameconn.h"
 #include "ipc/mapconn.h"
 #include "net/netconn.h"
@@ -45,4 +49,8 @@
  */
 void flib_quit();
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* FRONTLIB_H_ */