Advertisement
Guest User

questlua_mysql.cpp

a guest
Jul 17th, 2015
237
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "stdafx.h"
  2. #include "db.h"
  3.  
  4. namespace quest
  5. {
  6. int mysql_query(lua_State * L)
  7. {
  8. return 0;
  9. }
  10.  
  11. void RegisterMysqlFunctionTable()
  12. {
  13. luaL_reg mysql_functions[] =
  14. {
  15. { "query", mysql_query },
  16. { NULL, NULL },
  17. };
  18.  
  19. CQuestManager::instance().AddLuaFunctionTable("mysql", mysql_functions);
  20. }
  21. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement