contrib/objcwrapper: add few missing primitive types
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 1 Sep 2015 20:21:59 +0000 (16:21 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 3 Sep 2015 14:32:31 +0000 (10:32 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/objcwrapper/src/objc_generator.nit

index b2e5f09..925bf06 100644 (file)
@@ -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"