diff options
Diffstat (limited to 'lib/loadlualibs.cc')
-rw-r--r-- | lib/loadlualibs.cc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/loadlualibs.cc b/lib/loadlualibs.cc index 7c1fefa..e8be95e 100644 --- a/lib/loadlualibs.cc +++ b/lib/loadlualibs.cc @@ -1,18 +1,8 @@ #include <loadlualibs.h> #include <Buffer.h> -extern unsigned int size_supportlib; -extern unsigned char supportlib[]; - -extern unsigned int size_tasklib; -extern unsigned char tasklib[]; - void LoadLuaLibs(Lua * L) { - Buffer supportlib_buff; - supportlib_buff.write(supportlib, size_supportlib); - L->load(&supportlib_buff); - Buffer tasklib_buff; - tasklib_buff.write(tasklib, size_tasklib); - L->load(&tasklib_buff); +#include "loadlualibs.ii" + } |