author | unc0rr |
Tue, 08 Feb 2011 22:24:30 +0300 | |
changeset 4936 | d65d438acd23 |
parent 4930 | 5d59bb58c365 |
child 5166 | d1eb1560b4d5 |
permissions | -rw-r--r-- |
4930 | 1 |
(* |
2 |
* Hedgewars, a free turn based strategy game |
|
3 |
* Copyright (c) 2004-2011 Andrey Korotaev <unC0Rr@gmail.com> |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*) |
|
2698 | 18 |
|
19 |
Library hwLibrary; |
|
20 |
||
21 |
// Add all your Pascal units to the "uses" clause below to add them to the program. |
|
22 |
// Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using |
|
23 |
// "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for |
|
24 |
// these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group) |
|
25 |
// to make these functions available in the C/C++/Objective-C source files |
|
26 |
// (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
|
27 |
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
|
28 |
exports Game; |
4187 | 29 |
begin |
4850 | 30 |
|
2698 | 31 |
end. |
32 |