]> git.tdb.fi Git - gldbg.git/blobdiff - source/functions.h
Enable bidirectional communication between gldbg and glwrap.so
[gldbg.git] / source / functions.h
index 0f5d96d91b94073ff89e67ae5ff8925c4f765d7c..f39c0680ebf5a57cc39742065c8c79aef2c23ed2 100644 (file)
@@ -1,13 +1,24 @@
 /* $Id$
 
 This file is part of gldbg
-Copyright © 2009  Mikko Rasa, Mikkosoft Productions
+Copyright © 2009-2010  Mikko Rasa, Mikkosoft Productions
 Distributed under the GPL
 */
 
 #ifndef FUNCTIONS_H_
 #define FUNCTIONS_H_
 
-#include "functions.enum"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "gensrc/functions.enum"
+
+const char *get_function_name(unsigned short);
+unsigned short get_function(const char *);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif