From f9f2aa38a4147d7ce3e4d31bd74aa5c341194f52 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 16 Apr 2013 12:55:17 +0900 Subject: [PATCH] (struct COS_Cons_ent): New structure. (COS_Cons): New type. (cos_cons): New prototype. (cos_car): New prototype. (cos_cdr): New prototype. --- cos.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cos.h b/cos.h index 3b157fc..42ff7a2 100644 --- a/cos.h +++ b/cos.h @@ -69,6 +69,14 @@ COS_Symbol cos_intern (COS_object name); COS_String cos_symbol_name (COS_Symbol symbol); +typedef struct COS_Cons_ent COS_Cons_ent; +typedef struct COS_Cons_ent* COS_Cons; + +COS_Cons cos_cons (COS_object car, COS_object cdr); +COS_object cos_car (COS_Cons pair); +COS_object cos_cdr (COS_Cons pair); + + typedef struct COS_Container_ent COS_Container_ent; typedef struct COS_Container_ent* COS_Container; -- 1.7.10.4