]> git.llucax.com Git - software/dgc/cdgc.git/blobdiff - gc/iface.d
Add weak reference support for Tango 0.99.9
[software/dgc/cdgc.git] / gc / iface.d
index 6f95c5d1e091a5c2823b5ddc73ef79f59e7bdc11..260607eee41b6288022e60e6c5812c03728cc75b 100644 (file)
@@ -218,3 +218,18 @@ extern (C) void gc_removeRange( void *p )
 {
     _gc.removeRange( p );
 }
+
+extern (C) void* gc_weakpointerCreate( Object r )
+{
+    return _gc.weakpointerCreate(r);
+}
+
+extern (C) void gc_weakpointerDestroy( void* wp )
+{
+    _gc.weakpointerDestroy(wp);
+}
+
+extern (C) Object gc_weakpointerGet( void* wp )
+{
+    return _gc.weakpointerGet(wp);
+}