6 #ifndef SC_BASE_TYPES_H 7 #define SC_BASE_TYPES_H 56 #define DECLARE_ENUM_TYPE(T) \ 59 inline void Push(HSQUIRRELVM v,T value) { sq_pushinteger(v,value); } \ 60 inline bool Match(TypeWrapper<T>, HSQUIRRELVM v, int idx) { return sq_gettype(v,idx) == OT_INTEGER; } \ 61 inline T Get(TypeWrapper<T>,HSQUIRRELVM v,int idx) { SQInteger i; SQPLUS_CHECK_GET(sq_getinteger(v,idx,&i)); return (T)i; } \ 88 struct TypeInfo<unsigned short>
92 enum {TypeID=VAR_TYPE_INT,Size=
sizeof(
unsigned short)};
93 operator ScriptVarType() {
return ScriptVarType(TypeID); }
97 struct TypeInfo<SQInt32>
100 TypeInfo() : typeName(sqT(
"int")) {}
101 enum {TypeID=VAR_TYPE_INT,Size=
sizeof(SQInt32)};
102 operator ScriptVarType() {
return ScriptVarType(TypeID); }
107 #endif // SC_BASE_TYPES_H TargetFilenameGenerationPolicy
A target's filename can either be auto-generated based on the running platform, or completely specifi...
Information about the plugin.
FileTreeDataKind
The kind of tree node.
PCHMode
Precompiled headers mode.
Represents a file in a Code::Blocks project.
const SQChar * GetTypeName(const SQObjectPtr &obj1)
Represents a Code::Blocks project.
ModuleType
The type of module offering a context menu.
OptionsRelation
Option's relation.
Base class that all "editors" should inherit from.
This is a base class for all classes needing compilation parameters.
TemplateOutputType
Template output types.
DECLARE_INSTANCE_TYPE(wxArrayString)
The entry point singleton for working with projects.
Provides scripting in Code::Blocks.
SearchDirs
Search dirs values.
Represents a Code::Blocks project build target.
TargetType
Enum to define the type of output the target produces.
OptionsRelationType
Enum that defines the option's relation types.
#define DECLARE_ENUM_TYPE(T)
Base class for build target classes Each Code::Blocks project consists of at least one target...