[Spread-cvs] commit: r477 - libspreadutil/trunk/src
jonathan at spread.org
jonathan at spread.org
Sat Mar 3 16:18:02 EST 2012
Author: jonathan
Date: 2012-03-03 16:18:02 -0500 (Sat, 03 Mar 2012)
New Revision: 477
Modified:
libspreadutil/trunk/src/objects.h
Log:
Remove unneeded dependancies and declarations.
Modified: libspreadutil/trunk/src/objects.h
===================================================================
--- libspreadutil/trunk/src/objects.h 2012-02-24 17:14:53 UTC (rev 476)
+++ libspreadutil/trunk/src/objects.h 2012-03-03 21:18:02 UTC (rev 477)
@@ -42,8 +42,6 @@
#ifndef OBJECTS_H
#define OBJECTS_H
-#include "arch.h"
-
#define MAX_OBJECTS 200
#define MAX_OBJ_USED 56
@@ -61,31 +59,15 @@
#include "objects_local.h"
/* Special objects */
-#define UNKNOWN_OBJ 55 /* This represents an object of undertermined or
- * variable type. Can only be used when appropriate.
- * i.e. when internal structure of object is not accessed.
- * This is mainly used with queues
- */
-typedef struct d_obj {
- int32u obj_type;
- int32 obj_ref_count; /* who is using it before we free it - should not be sent */
-} base_obj;
+/* This represents an object of undertermined or
+ * variable type. Can only be used when appropriate.
+ * i.e. when internal structure of object is not accessed.
+ * This is mainly used with queues
+ */
+#define UNKNOWN_OBJ (MAX_OBJ_USED -1)
-/* Global Functions to manipulate objects */
-int Is_Valid_Object(int32u oid);
-
-char *Objnum_to_String(int32u obj_type);
-
-int32 Obj_Inc_Refcount(void *obj);
-int32 Obj_Dec_Refcount(void *obj);
-int32 Obj_Net_SizeP(void *obj);
-int32 Obj_Net_SizeT(int32u obj_type);
-int32 Obj_SizeP(void * obj);
-int32 min32(int32, int32);
-int32u min32u(int32u, int32u);
-
#endif /* OBJECTS_H */
More information about the Spread-cvs
mailing list