COS_Object_Type_char,
COS_Object_Type_String,
COS_Object_Type_Symbol,
+ COS_Object_Type_Cons,
COS_Object_Type_Container,
COS_Object_Type_Sexp,
COS_Object_Type_Binary,
#define COS_OBJECT_SYMBOL_P(obj) \
COS_OBJECT_TYPE_P (obj, Symbol)
+#define COS_OBJECT_CONS_P(obj) \
+ COS_OBJECT_TYPE_P (obj, Cons)
+
#define COS_OBJECT_DS_P(obj) \
COS_OBJECT_TYPE_P (obj, DS)
cos_symbol_table_intern (COS_Symbol_Table table, COS_object name);
+struct COS_Cons_ent
+{
+ COS_Object_Header header;
+
+ COS_object car;
+ COS_object cdr;
+};
+
+#define COS_CAR(obj) \
+ (((COS_Cons)(obj))->car)
+#define COS_CDR(obj) \
+ (((COS_Cons)(obj))->cdr)
+
+int cos_release_cons (COS_Object obj);
+
+
struct COS_Container_ent
{
COS_Object_Header header;