typedef
This commit is contained in:
@@ -19,11 +19,12 @@ class Luna
|
|||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
typedef Type T;
|
typedef Type T;
|
||||||
|
typedef int (binding_t)(T *p, lua_State *L);
|
||||||
|
|
||||||
struct RegType
|
struct RegType
|
||||||
{
|
{
|
||||||
const char *szName;
|
const char *szName;
|
||||||
int (*mfunc)(T *p, lua_State *L);
|
binding_t *mfunc;
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user