contrib/objcwrapper: add some common special types
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 26 Aug 2015 19:05:10 +0000 (15:05 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 27 Aug 2015 19:26:48 +0000 (15:26 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/objcwrapper/src/objc_generator.nit

index 6ca50a2..fb9e4ab 100644 (file)
@@ -59,6 +59,10 @@ redef class Sys
                types["NSUInteger"] = "Int"
                types["BOOL"] = "Bool"
                types["id"] = "NSObject"
+               types["constid"] = "NSObject"
+               types["SEL"] = "NSObject"
+               types["void"] = "Pointer"
+
                return types
        end
 end