nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/objcwrapper: add few missing primitive types
[nit.git]
/
contrib
/
objcwrapper
/
src
/
objc_generator.nit
diff --git
a/contrib/objcwrapper/src/objc_generator.nit
b/contrib/objcwrapper/src/objc_generator.nit
index
b2e5f09
..
925bf06
100644
(file)
--- a/
contrib/objcwrapper/src/objc_generator.nit
+++ b/
contrib/objcwrapper/src/objc_generator.nit
@@
-57,7
+57,10
@@
redef class Sys
types["long double"] = "Float"
types["NSUInteger"] = "Int"
+ types["NSInteger"] = "Int"
+ types["CGFloat"] = "Float"
types["BOOL"] = "Bool"
+
types["id"] = "NSObject"
types["constid"] = "NSObject"
types["SEL"] = "NSObject"