-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBWAPI.nim
21 lines (18 loc) · 818 Bytes
/
BWAPI.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## / <summary>The primary namespace for the BWAPI interface.</summary> Everything that is BWAPI is
## / contained within it.
## / <summary>Retrieves the revision of the BWAPILIB module currently being used.</summary>
## /
## / @returns
## / An integer representing the revision number of the library.
## /
## / @threadsafe
proc BWAPI_getRevision*(): cint {.importcpp: "BWAPI::BWAPI_getRevision(@)",
header: "BWAPI.h".}
## / <summary>Checks if the BWAPILIB module was compiled in DEBUG mode.</summary>
## /
## / @retval true if this is a DEBUG build
## / @retval false if this is a RELEASE build
## /
## / @threadsafe
proc BWAPI_isDebug*(): bool {.importcpp: "BWAPI::BWAPI_isDebug(@)", header: "BWAPI.h".}
var BWAPI_REVISION* {.importcpp: "BWAPI_REVISION", header: "BWAPI.h".}: cint