UGDK
Namespaces | Defines | Typedefs | Functions
src/ugdk/script/defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ugdk
namespace  ugdk::script

Defines

#define LANG(name)   name##Lang
 Here are the common definitions of the script system.
#define DEFINE_LANG_ID(name, id)   const LangID LANG(name) = id;
 Defines an ID for the script language called 'name'.

Typedefs

typedef size_t ugdk::script::LangID
 Type used for script languages' IDs.

Functions

 ugdk::script::DEFINE_LANG_ID (Lua, 0)
 Script languages ID's definition list.
 ugdk::script::DEFINE_LANG_ID (Python, 1)

Define Documentation

#define DEFINE_LANG_ID (   name,
  id 
)    const LangID LANG(name) = id;

Defines an ID for the script language called 'name'.

#define LANG (   name)    name##Lang

Here are the common definitions of the script system.

The ID, if defined, of the script language called 'name'.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines