contrib/objcwrapper: add few missing primitive types
[nit.git] / 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"