author | sheepluva |
Sun, 06 Feb 2011 11:39:11 +0100 | |
changeset 4929 | 3dca560e6510 |
parent 4859 | 74d32d1c3753 |
child 4930 | 5d59bb58c365 |
permissions | -rw-r--r-- |
2698 | 1 |
// fptest |
2 |
// |
|
3 |
// Created by Vittorio on 08/01/10. |
|
4 |
// Copyright __MyCompanyName__ 2010. All rights reserved. |
|
5 |
||
6 |
Library hwLibrary; |
|
7 |
||
8 |
// Add all your Pascal units to the "uses" clause below to add them to the program. |
|
9 |
||
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 |
|
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 |
|
14 |
// (add "#include PascalImports.h" near the top of these files if it's not there yet) |
|
4859
74d32d1c3753
disable the C memory manager and keep the native pascal one
koda
parents:
4850
diff
changeset
|
15 |
uses PascalExports, hwengine; |
4929
3dca560e6510
I need this export in order to not have the wrapper.c fail to find Game() on linux
sheepluva
parents:
4859
diff
changeset
|
16 |
exports Game; |
4187 | 17 |
begin |
4850 | 18 |
|
2698 | 19 |
end. |
20 |