emmy_init(emmy)
| 126 | |
| 127 | // emmy_init(emmy) |
| 128 | int emmyHelperInit(lua_State* L) |
| 129 | { |
| 130 | lua_getglobal(L, ExtensionPoint::ExtensionTable.c_str()); |
| 131 | if (lua_istable(L, -1)) |
| 132 | { |
| 133 | // create node |
| 134 | lua_pushcfunction(L, createNode); |
| 135 | lua_setfield(L, -2, "createNode"); |
| 136 | } |
| 137 | return 0; |
| 138 | } |
| 139 | |
| 140 | void ExtensionPoint::Initialize(lua_State* L) |
| 141 | { |
nothing calls this directly
no test coverage detected