BarryServer : Git

All the code for all my projects
// BarryServer : Git / libBLOC / commit / 22e0342f07b1426081405425d5a0a250404c5335 / include / BLOC / object.h

// Related

libBLOC

Barry Restructuring object core + portable locking 22e0342 (2 years, 11 months ago)
diff --git a/include/BLOC/object.h b/include/BLOC/object.h
index 64d685c..f71e290 100644
--- a/include/BLOC/object.h
+++ b/include/BLOC/object.h
@@ -33,16 +33,17 @@ struct ObjectType {
 	void (*delete)(void *);
 };
 
-int obj_verify(void *addr);
-unsigned int obj_usage(void *addr);
 void *obj_get(void *addr);
 void obj_put(void *addr);
 void *obj_new(struct ObjectType *type);
-struct ObjectType *obj_type(void *addr);
 
 #define obj_drop(v) ({ obj_put(v); v = NULL; })
 #define obj_swap(v,o) ({ obj_put(v); v = obj_get(o); })
 
+int obj_verify(void *addr);
+unsigned int obj_usage(void *addr);
+struct ObjectType *obj_type(void *addr);
+
 void obj_lock(void *addr);
 void obj_unlock(void *addr);