oops
This commit is contained in:
parent
f052171e41
commit
2ae39ff14f
|
@ -6,12 +6,12 @@
|
||||||
typedef const char* TYPE_IDENT;
|
typedef const char* TYPE_IDENT;
|
||||||
|
|
||||||
#define TYPE_DEFINE(type, value) \
|
#define TYPE_DEFINE(type, value) \
|
||||||
static #type GetType() \
|
static type GetType() \
|
||||||
{ \
|
{ \
|
||||||
static #type typeName = #value; \
|
static type typeName = value; \
|
||||||
return typeName; \
|
return typeName; \
|
||||||
} \
|
} \
|
||||||
#type GetTypeOf() const \
|
type GetTypeOf() const \
|
||||||
{ \
|
{ \
|
||||||
return GetType(); \
|
return GetType(); \
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue