Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "db.h"
- namespace quest
- {
- int mysql_query(lua_State * L)
- {
- return 0;
- }
- void RegisterMysqlFunctionTable()
- {
- luaL_reg mysql_functions[] =
- {
- { "query", mysql_query },
- { NULL, NULL },
- };
- CQuestManager::instance().AddLuaFunctionTable("mysql", mysql_functions);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement