Kaynağa Gözat

added @:to ref

Nicolas Cannasse 8 yıl önce
ebeveyn
işleme
7d70187b59
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      std/hl/NativeArray.hx

+ 1 - 1
std/hl/NativeArray.hx

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