hedgewars/hwLibrary.pas
changeset 3464 cdb0ddeb38ba
parent 3245 252be02536ab
child 4187 adb144a907aa
equal deleted inserted replaced
3463:23c50be687a9 3464:cdb0ddeb38ba
    10 // Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using
    10 // Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using
    11 // "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for
    11 // "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for
    12 // these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group)
    12 // these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group)
    13 // to make these functions available in the C/C++/Objective-C source files
    13 // to make these functions available in the C/C++/Objective-C source files
    14 // (add "#include PascalImports.h" near the top of these files if it's not there yet)
    14 // (add "#include PascalImports.h" near the top of these files if it's not there yet)
    15 uses cmem, hwengine;
    15 uses cmem, hwengine, PascalExports;
    16 
    16 
    17 end.
    17 end.
    18 
    18