Explorar o código

fixed EnumValue abstract in cpp (fixed issue #1248)

Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
d7428809e7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gencpp.ml

+ 1 - 0
gencpp.ml

@@ -378,6 +378,7 @@ and type_string_suff suffix haxe_type =
 	| TAbstract ({ a_path = ([],"Bool") },[]) -> "bool"
 	| TAbstract ({ a_path = ([],"Float") },[]) -> "Float"
 	| TAbstract ({ a_path = ([],"Int") },[]) -> "int"
+	| TAbstract( { a_path = ([], "EnumValue") }, _  ) -> "Dynamic"
 	| TEnum ({ e_path = ([],"Void") },[]) -> "Void"
 	| TEnum ({ e_path = ([],"Bool") },[]) -> "bool"
 	| TInst ({ cl_path = ([],"Float") },[]) -> "Float"