equal
deleted
inserted
replaced
24 |
24 |
25 // Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using |
25 // Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using |
26 // "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for |
26 // "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for |
27 // these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group) |
27 // these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group) |
28 // to make these functions available in the C/C++/Objective-C source files |
28 // to make these functions available in the C/C++/Objective-C source files |
29 // (add "#include PascalImports.h" near the top of these files if it's not there yet) |
29 // (add "#include PascalImports.h" near the top of these files if it is not there yet) |
30 //Library PascalLibrary; |
30 //Library PascalLibrary; |
31 program hwengine; |
31 program hwengine; |
32 uses |
32 uses |
33 SDLh in 'SDLh.pas', |
33 SDLh in 'SDLh.pas', |
34 {$IFDEF IPHONE} |
34 {$IFDEF IPHONE} |