Explorar o código

added @:to ref

Nicolas Cannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
7d70187b59
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/hl/NativeArray.hx

+ 1 - 1
std/hl/NativeArray.hx

@@ -68,7 +68,7 @@ package hl;
 		return n;
 		return n;
 	}
 	}
 
 
-	@:extern public inline function getRef() : Ref<T> {
+	@:to @:extern public inline function getRef() : Ref<T> {
 		return untyped $refdata(this);
 		return untyped $refdata(this);
 	}
 	}