X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffunctions.h;h=f39c0680ebf5a57cc39742065c8c79aef2c23ed2;hb=ea3d851aa52e999b1c5a5fa52c97ff5019756c0e;hp=0f5d96d91b94073ff89e67ae5ff8925c4f765d7c;hpb=9d1825d591a7261b1cff620ba535d333352984bf;p=gldbg.git diff --git a/source/functions.h b/source/functions.h index 0f5d96d..f39c068 100644 --- a/source/functions.h +++ b/source/functions.h @@ -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