UGDK
src/ugdk/script/defs.h
Go to the documentation of this file.
00001 
00002 
00003 #ifndef UGDK_SCRIPT_DEFS_H_
00004 #define UGDK_SCRIPT_DEFS_H_
00005 
00007 #define LANG(name) name##Lang
00008 
00010 #define DEFINE_LANG_ID(name,id) \
00011     const LangID LANG(name) = id;
00012 
00013 #ifndef SWIG_GENERATED
00014 extern "C" {
00016 struct swig_type_info;
00017 
00018 }
00019 #endif
00020 
00021 namespace ugdk {
00022 
00023 namespace script {
00024 
00026 typedef size_t LangID;
00027 
00029 DEFINE_LANG_ID(Lua,     0);
00030 DEFINE_LANG_ID(Python,  1);
00031 
00032 } /* namespace script */
00033 
00034 } /* namespace ugdk */
00035 
00036 #endif /* UGDK_SCRIPT_DEFS_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines