hedgewars/LuaPas.pas
changeset 7110 c91d33837b0d
parent 7073 26f960656cc9
child 7151 ec15d9e1a7e3
equal deleted inserted replaced
7020:846cea23aea2 7110:c91d33837b0d
     8  * Created by Geo Massar, 2006
     8  * Created by Geo Massar, 2006
     9  * Distributed as free/open source.
     9  * Distributed as free/open source.
    10  *)
    10  *)
    11 
    11 
    12 interface
    12 interface
    13 
    13 uses uConsts;
    14 {.$DEFINE LUA_GETHOOK}
    14 {.$DEFINE LUA_GETHOOK}
    15 {$INCLUDE "config.inc"}
       
    16 
    15 
    17 type
    16 type
       
    17 {$IFNDEF PAS2C}    
    18     size_t   = Cardinal;
    18     size_t   = Cardinal;
       
    19 {$ENDIF}
    19     Psize_t  = ^size_t;
    20     Psize_t  = ^size_t;
    20     PPointer = ^Pointer;
    21     PPointer = ^Pointer;
    21 
    22 
    22     lua_State = record end;
    23     lua_State = record end;
    23     Plua_State = ^lua_State;
    24     Plua_State = ^lua_State;