Beispiel #1
0
int Pinfo_register(lua_State* L) {
    WSLUA_REGISTER_META(Pinfo);
    WSLUA_REGISTER_ATTRIBUTES(Pinfo);
    outstanding_Pinfo = g_ptr_array_new();
    outstanding_PrivateTable = g_ptr_array_new();
    return 0;
}
Beispiel #2
0
int NSTime_register(lua_State* L) {
    WSLUA_REGISTER_META(NSTime);

    lua_pushstring(L, "NSTime");
    lua_pushcfunction(L, NSTime_new);
    lua_settable(L, LUA_GLOBALSINDEX);
    return 1;
}
Beispiel #3
0
int NSTime_register(lua_State* L) {
    WSLUA_REGISTER_META(NSTime);

    lua_pushcfunction(L, NSTime_new);
    lua_setglobal(L, "NSTime");

    return 1;
}
Beispiel #4
0
int CaptureInfoConst_register(lua_State* L) {
    WSLUA_REGISTER_META(CaptureInfoConst);
    WSLUA_REGISTER_ATTRIBUTES(CaptureInfoConst);
    return 0;
}
Beispiel #5
0
int PrivateTable_register(lua_State* L) {
    WSLUA_REGISTER_META(PrivateTable);
    return 0;
}
Beispiel #6
0
int Columns_register(lua_State *L) {
    WSLUA_REGISTER_META(Columns);
    return 1;
}
Beispiel #7
0
int FieldInfo_register(lua_State* L) {
    WSLUA_REGISTER_META(FieldInfo);
    WSLUA_REGISTER_ATTRIBUTES(FieldInfo);
    return 0;
}
Beispiel #8
0
int FieldInfo_register(lua_State* L) {
    WSLUA_REGISTER_META(FieldInfo);
    return 1;
}