X-Git-Url: https://git.llucax.com/software/dgc/cdgc.git/blobdiff_plain/f102613fc4eccc2bc732885bf78aeaa8804b9208..619a72ba893b8262f8d0946183aaa90964f893d5:/gc/iface.d diff --git a/gc/iface.d b/gc/iface.d index 6f95c5d..260607e 100644 --- a/gc/iface.d +++ b/gc/iface.d @@ -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); +}