Ver código fonte

fixes wrt latest haxe/webidl

ncannasse 6 anos atrás
pai
commit
9bda91b973
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      libs/bullet/bullet/Generator.hx
  2. 1 1
      libs/bullet/bullet/Native.hx

+ 1 - 1
libs/bullet/bullet/Generator.hx

@@ -28,7 +28,7 @@ class Generator {
 	}
 	}
 
 
 	public static function getFiles() {
 	public static function getFiles() {
-		var prj = new haxe.xml.Fast(Xml.parse(sys.io.File.getContent("bullet.vcxproj.filters")).firstElement());
+		var prj = new haxe.xml.Access(Xml.parse(sys.io.File.getContent("bullet.vcxproj.filters")).firstElement());
 		var sources = [];
 		var sources = [];
 		for( i in prj.elements )
 		for( i in prj.elements )
 			if( i.name == "ItemGroup" )
 			if( i.name == "ItemGroup" )

+ 1 - 1
libs/bullet/bullet/Native.hx

@@ -1,3 +1,3 @@
 package bullet;
 package bullet;
 
 
-typedef Native = haxe.macro.MacroType<[webidl.Module.build({ file : "bullet.idl", chopPrefix : "bt", autoGC : true, nativeLib : "bullet" })]>;
+typedef Native = haxe.macro.MacroType<[webidl.Module.build({ idlFile : "bullet.idl", chopPrefix : "bt", autoGC : true, nativeLib : "bullet" })]>;