hedgewars/hwLibrary.pas
author koda
Sun, 05 Dec 2010 00:05:21 +0100
changeset 4460 bdace1e2f8aa
parent 4438 39ab70b37e01
child 4603 d362ab6c7f53
permissions -rw-r--r--
write some version information inside the application
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2698
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     1
//  fptest
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     2
//
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     3
//  Created by Vittorio on 08/01/10.
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     4
//  Copyright __MyCompanyName__ 2010. All rights reserved.
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     5
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     6
Library hwLibrary;
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     7
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     8
// Add all your Pascal units to the "uses" clause below to add them to the program.
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
     9
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    10
// Mark all Pascal procedures/functions that you wish to call from C/C++/Objective-C code using
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    11
// "cdecl; export;" (see the fpclogo.pas unit for an example), and then add C-declarations for
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    12
// these procedures/functions to the PascalImports.h file (also in the "Pascal Sources" group)
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    13
// to make these functions available in the C/C++/Objective-C source files
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    14
// (add "#include PascalImports.h" near the top of these files if it's not there yet)
4438
39ab70b37e01 un-break also the ios project
koda
parents: 4437
diff changeset
    15
uses cmem, uVariables, PascalExports, hwengine;
4187
adb144a907aa remove last warnings from xcodeproj
koda
parents: 3464
diff changeset
    16
begin
adb144a907aa remove last warnings from xcodeproj
koda
parents: 3464
diff changeset
    17
    // avoid compiler warnings about units not being used
adb144a907aa remove last warnings from xcodeproj
koda
parents: 3464
diff changeset
    18
    isTerminated:= isTerminated;
adb144a907aa remove last warnings from xcodeproj
koda
parents: 3464
diff changeset
    19
    dummy:= dummy;
2698
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    20
end.
90585aba87ad objc/pascal finally working
koda
parents:
diff changeset
    21