Commit f031f918 authored by jdelange's avatar jdelange

* src/po_hi_lua.c

   include/po_hi_lua.h
   - Adapt PolyORB-HI-C to LUA 5.2



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3753 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent e0f55465
......@@ -32,9 +32,9 @@
#endif
#ifdef __PO_HI_USE_LUA
#include <lua5.1/lua.h>
#include <lua5.1/lualib.h>
#include <lua5.1/lauxlib.h>
#include <lua/lua.h>
#include <lua/lualib.h>
#include <lua/lauxlib.h>
typedef struct
{
......
......@@ -72,7 +72,7 @@ int __po_hi_lua_init (__po_hi_lua_context_t* context)
return __PO_HI_INVALID;
}
#ifdef __PO_HI_USE_LUA
context->state = lua_open();
context->state = luaL_newstate();
luaL_openlibs (context->state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment