|
@@ -1,10 +1,16 @@
|
|
/*
|
|
/*
|
|
-** $Id: linit.c,v 1.33 2014/02/06 17:32:33 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: linit.c,v 1.34 2014/05/15 19:28:34 roberto Exp roberto $
|
|
** Initialization of libraries for lua.c and other clients
|
|
** Initialization of libraries for lua.c and other clients
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
+#define linit_c
|
|
|
|
+#define LUA_LIB
|
|
|
|
+
|
|
|
|
+#include "lprefix.h"
|
|
|
|
+
|
|
|
|
+
|
|
/*
|
|
/*
|
|
** If you embed Lua in your program and need to open the standard
|
|
** If you embed Lua in your program and need to open the standard
|
|
** libraries, call luaL_openlibs in your program. If you need a
|
|
** libraries, call luaL_openlibs in your program. If you need a
|
|
@@ -12,10 +18,6 @@
|
|
** it to suit your needs.
|
|
** it to suit your needs.
|
|
*/
|
|
*/
|
|
|
|
|
|
-
|
|
|
|
-#define linit_c
|
|
|
|
-#define LUA_LIB
|
|
|
|
-
|
|
|
|
#include "lua.h"
|
|
#include "lua.h"
|
|
|
|
|
|
#include "lualib.h"
|
|
#include "lualib.h"
|