From db444c117301e58bee5271b3df8ac8af337b3662 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Thu, 18 Apr 2013 11:13:21 +0900 Subject: [PATCH] (cos_cons_p): New prototype. --- cos.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cos.h b/cos.h index 17f7b34..8e5822f 100644 --- a/cos.h +++ b/cos.h @@ -43,13 +43,13 @@ int cos_release_object (COS_object obj); typedef intptr_t COS_C_Int; COS_object cos_make_int (COS_C_Int num); -COS_C_Int cos_int_value (COS_object obj); int cos_int_p (COS_object obj); +COS_C_Int cos_int_value (COS_object obj); COS_object cos_make_char (int code); -int cos_char_id (COS_object obj); int cos_char_p (COS_object obj); +int cos_char_id (COS_object obj); typedef struct COS_String_ent COS_String_ent; @@ -79,6 +79,7 @@ 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); +int cos_cons_p (COS_object obj); COS_object cos_car (COS_Cons pair); COS_object cos_cdr (COS_Cons pair); -- 1.7.10.4