Selaa lähdekoodia

Make 'exists' functions not inline

hughsando 11 vuotta sitten
vanhempi
commit
eb699ec4c5
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      std/cpp/_std/haxe/ds/ObjectMap.hx
  2. 1 1
      std/cpp/_std/sys/FileSystem.hx

+ 1 - 1
std/cpp/_std/haxe/ds/ObjectMap.hx

@@ -41,7 +41,7 @@ class ObjectMap<K:{},V> implements Map.IMap<K,V> {
 		return __Internal.get( untyped __global__.__hxcpp_obj_id(key) );
 		return __Internal.get( untyped __global__.__hxcpp_obj_id(key) );
 	}
 	}
 
 
-	public inline function exists( key : K ) : Bool {
+	public function exists( key : K ) : Bool {
 		return __Internal.exists( untyped __global__.__hxcpp_obj_id(key) );
 		return __Internal.exists( untyped __global__.__hxcpp_obj_id(key) );
 	}
 	}
 
 

+ 1 - 1
std/cpp/_std/sys/FileSystem.hx

@@ -30,7 +30,7 @@ private enum FileKind {
 @:coreApi
 @:coreApi
 class FileSystem {
 class FileSystem {
 
 
-	public static inline function exists( path : String ) : Bool {
+	public static function exists( path : String ) : Bool {
 		return sys_exists(haxe.io.Path.removeTrailingSlashes(path));
 		return sys_exists(haxe.io.Path.removeTrailingSlashes(path));
 	}
 	}