From 68f0eb97c9f2eb4d7c555380da10cd1dd8f54cbb Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 12 Jan 2014 13:15:41 +0900 Subject: [PATCH] pic_symbol_p macro is replaced with pic_sym_p --- include/picrin/value.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/picrin/value.h b/include/picrin/value.h index 56aa9453..27369a64 100644 --- a/include/picrin/value.h +++ b/include/picrin/value.h @@ -157,12 +157,15 @@ pic_value pic_none_value(); #define pic_undef_p(v) (pic_vtype(v) == PIC_VTYPE_UNDEF) #define pic_float_p(v) (pic_vtype(v) == PIC_VTYPE_FLOAT) #define pic_int_p(v) (pic_vtype(v) == PIC_VTYPE_INT) -#define pic_symbol_p(v) (pic_vtype(v) == PIC_VTYPE_SYMBOL) +#define pic_sym_p(v) (pic_vtype(v) == PIC_VTYPE_SYMBOL) #define pic_char_p(v) (pic_vtype(v) == PIC_VTYPE_CHAR) #define pic_pair_p(v) (pic_type(v) == PIC_TT_PAIR) #define pic_str_p(v) (pic_type(v) == PIC_TT_STRING) #define pic_vec_p(v) (pic_type(v) == PIC_TT_VECTOR) +/* obsoleted macro(s) */ +#define pic_symbol_p pic_sym_p + bool pic_eq_p(pic_value, pic_value); bool pic_eqv_p(pic_value, pic_value);