CMGDK r49-rc2
组合类型 | 名字空间 | 宏定义
K:/CMGDKv18/SDK/Include/hgl/script/vm.h文件参考
#include <string.h>

浏览该文件的源代码。

组合类型

struct  hgl::vm_method_ptr< int >

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


宏定义

#define vm_method(c, m)   vm_method_ptr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
#define MapMemberFunc(name, this_pointer, class, func)   MapFunc(name,this_pointer,vm_method(class,func))
#define MapCppFunc(name, this_pointer, class, func)   MapMemberFunc(name,this_pointer,class,func)
#define MapObject(name, class, create, clear)   CreateObjectMap(name,sizeof(class),create,clear)
#define MapObjectProperty(name, class, value)   MapProperty(name,offsetof(class,class::value))
#define MapObjectFunc(name, class, func)   MapFunc(name,vm_method(class,func))

宏定义文档

#define MapCppFunc (   name,
  this_pointer,
  class,
  func 
)    MapMemberFunc(name,this_pointer,class,func)
#define MapMemberFunc (   name,
  this_pointer,
  class,
  func 
)    MapFunc(name,this_pointer,vm_method(class,func))
#define MapObject (   name,
  class,
  create,
  clear 
)    CreateObjectMap(name,sizeof(class),create,clear)
#define MapObjectFunc (   name,
  class,
  func 
)    MapFunc(name,vm_method(class,func))
#define MapObjectProperty (   name,
  class,
  value 
)    MapProperty(name,offsetof(class,class::value))
#define vm_method (   c,
  m 
)    vm_method_ptr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义