equal
deleted
inserted
replaced
8 *) |
8 *) |
9 |
9 |
10 interface |
10 interface |
11 |
11 |
12 {.$DEFINE LUA_GETHOOK} |
12 {.$DEFINE LUA_GETHOOK} |
|
13 {$INCLUDE "config.inc"} |
13 |
14 |
14 type |
15 type |
15 size_t = type Cardinal; |
16 size_t = type Cardinal; |
16 Psize_t = ^size_t; |
17 Psize_t = ^size_t; |
17 PPointer = ^Pointer; |
18 PPointer = ^Pointer; |
18 |
19 |
19 lua_State = record end; |
20 lua_State = record end; |
20 Plua_State = ^lua_State; |
21 Plua_State = ^lua_State; |
21 |
22 |
22 const |
23 const |
23 {$IFDEF UNIX} |
24 LuaLibName = cLuaLibrary; |
24 {$IFDEF DARWIN} |
|
25 LuaLibName = 'lua'; |
|
26 {$ELSE} |
|
27 LuaLibName = 'lua5.1.so'; |
|
28 {$ENDIF} |
|
29 {$ELSE} |
|
30 LuaLibName = 'lua.dll'; |
|
31 {$ENDIF} |
|
32 |
25 |
33 |
26 |
34 (*****************************************************************************) |
27 (*****************************************************************************) |
35 (* luaconfig.h *) |
28 (* luaconfig.h *) |
36 (*****************************************************************************) |
29 (*****************************************************************************) |