Hugh Sanderson преди 13 години
родител
ревизия
c9267b6518
променени са 1 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 10 0
      std/cpp/vm/Gc.hx

+ 10 - 0
std/cpp/vm/Gc.hx

@@ -19,6 +19,16 @@ class Gc
 
    #if gc_extra
    // Can't add these until the next hxcpp release....
+   static public function doNotKill(inObject:Dynamic) : Void
+   {
+      untyped __global__.__hxcpp_gc_do_not_kill(inObject);
+   }
+
+   static public function getNextZombie() : Dynamic
+   {
+      return untyped __global__.__hxcpp_get_next_zombie();
+   }
+
    static public function safePoint() : Void
    {
       untyped __global__.__hxcpp_gc_safe_point();