]> git.lizzy.rs Git - dragonstd.git/blobdiff - refcount.h
Add refcount_obj
[dragonstd.git] / refcount.h
index 32904f581c92791d506ee3eef258d10d682044dd..12e99d320499b00afc94c55163791de386b7225e 100644 (file)
@@ -72,4 +72,12 @@ void *refcount_drp(void *refcount);
                otherwise.
 */
 
+void *refcount_obj(void *refcount)
+/*
+       [Thread Safe]
+       Return referenced object.
+       This actually takes a Refcount * as argument, however void * is used to make it more
+               convenient to use the function as callback.
+*/
+
 #endif // _DRAGONSTD_REFCOUNT_H_