1 // fptest |
1 (* |
2 // |
2 * Hedgewars, a free turn based strategy game |
3 // Created by Vittorio on 08/01/10. |
3 * Copyright (c) 2004-2011 Andrey Korotaev <unC0Rr@gmail.com> |
4 // Copyright __MyCompanyName__ 2010. All rights reserved. |
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 *) |
5 |
18 |
6 Library hwLibrary; |
19 Library hwLibrary; |
7 |
20 |
8 // Add all your Pascal units to the "uses" clause below to add them to the program. |
21 // 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 |
22 // 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 |
23 // "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) |
24 // 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 |
25 // 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) |
26 // (add "#include PascalImports.h" near the top of these files if it's not there yet) |