aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIco Doornekamp <github@zevv.nl>2019-01-18 03:40:56 +0100
committergenotrance <dev@genotrance.com>2019-01-17 20:40:56 -0600
commit8a09f3e290a7d36c9a7b8dc3795e993a8fe3a94b (patch)
treeb5c9254ab999c32a262b343292339ce965f52418
parent09d9794bb648ed2e0eb94bce1cebdbb66adf1c0f (diff)
downloadnimterop-8a09f3e290a7d36c9a7b8dc3795e993a8fe3a94b.tar.gz
nimterop-8a09f3e290a7d36c9a7b8dc3795e993a8fe3a94b.zip
Added ptrdiff_t (#38)
-rw-r--r--nimterop/getters.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim
index e066858..d6f17c6 100644
--- a/nimterop/getters.nim
+++ b/nimterop/getters.nim
@@ -73,7 +73,8 @@ const gTypeMap = {
"long double": "clongdouble",
# misc
- "time_t": "int32"
+ "time_t": "int32",
+ "ptrdiff_t": "ByteAddress"
}.toTable()
proc sanitizePath*(path: string): string =