UGDK
0.4.1
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
defs.h
Go to the documentation of this file.
1
2
3
#ifndef UGDK_SCRIPT_DEFS_H_
4
#define UGDK_SCRIPT_DEFS_H_
5
7
#define LANG(name) name##Lang
8
10
#define DEFINE_LANG_ID(name,id) \
11
const LangID LANG(name) = id;
12
13
#ifndef SWIG_GENERATED
14
extern
"C"
{
16
struct
swig_type_info
;
17
18
}
19
#endif
20
21
namespace
ugdk {
22
23
namespace
script {
24
26
typedef
size_t
LangID
;
27
29
DEFINE_LANG_ID
(Lua, 0);
30
DEFINE_LANG_ID
(Python, 1);
31
32
}
/* namespace script */
33
34
}
/* namespace ugdk */
35
36
#endif
/* UGDK_SCRIPT_DEFS_H_ */
src
ugdk
script
defs.h
Generated on Sat Oct 13 2012 02:25:11 for UGDK by
1.8.2