hedgewars/LuaPas.pas
branchui-scaling
changeset 15283 c4fd2813b127
parent 14199 3c36a4e66c82
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
    12 
    12 
    13 interface
    13 interface
    14 uses uConsts;
    14 uses uConsts;
    15 {.$DEFINE LUA_GETHOOK}
    15 {.$DEFINE LUA_GETHOOK}
    16 
    16 
    17 const LuaLibName = {$IFDEF LUA_INTERNAL}'libhwlua'{$ELSE}'liblua'{$ENDIF};
    17 const LuaLibName =
    18 
    18 {$IFDEF LUA_INTERNAL}
    19 {$IFNDEF WIN32}
    19     {$IFDEF WIN32_VCPKG}'hwlua'{$ELSE}'libhwlua'{$ENDIF}
       
    20 {$ELSE}
       
    21     {$IFDEF WIN32_VCPKG}'lua'{$ELSE}'liblua'{$ENDIF}
       
    22 {$ENDIF};
       
    23 
       
    24 {$IFNDEF WINDOWS}
    20     {$linklib lua}
    25     {$linklib lua}
    21 {$ENDIF}
    26 {$ENDIF}
    22 
    27 
    23 type
    28 type
    24 {$IFNDEF PAS2C}
    29 {$IFNDEF PAS2C}
   112 (*****************************************************************************)
   117 (*****************************************************************************)
   113 
   118 
   114 (*
   119 (*
   115 ** $Id: lua.h,v 1.216 2006/01/10 12:50:13 roberto Exp $
   120 ** $Id: lua.h,v 1.216 2006/01/10 12:50:13 roberto Exp $
   116 ** Lua - An Extensible Extension Language
   121 ** Lua - An Extensible Extension Language
   117 ** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
   122 ** Lua.org, PUC-Rio, Brazil (https://www.lua.org)
   118 ** See Copyright Notice at the end of this file
   123 ** See Copyright Notice at the end of this file
   119 *)
   124 *)
   120 
   125 
   121 
   126 
   122 const
   127 const