- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
{ Delphi compatible }
{$IFNDEF PtrInt} type PtrInt = ^Integer; {$ENDIF}
{$IFNDEF PPointer} type PPointer = ^Pointer; {$ENDIF}
{$IFNDEF PPChar} type PPChar = ^PChar; {$ENDIF}
var
ls_lib: array[1..3] of luaL_reg =
(
(name: 'MultAllNumbers'; func: forLua_MultAllNumbers),
(name: 'GetHostAppPath'; func: forLua_GetHostAppPath),
(name: nil; func: nil)
);
function luaopen_SimpleDelphiLua(L: Plua_State): Integer; cdecl;
begin
luaL_openlib(L, PChar('SimpleDelphiLua'), @ls_lib, 0);
lua_pop(L, 1);
Result := 0;
end;
rotretS 22.11.2016 14:16 # −68
guest 22.11.2016 17:26 # −67
Где здесь lua, rotretS?
rotretS 23.11.2016 19:47 # −67
guest8 24.05.2018 22:40 # −999
3oJIoTou_xyu 25.05.2018 11:06 # 0