diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-08 12:03:04 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-08 12:03:04 +0800 |
commit | f0cf9e4d5cd358c7ac3759b9a1f47f07daf74104 (patch) | |
tree | 1804e66b4dc6473ac8421f2429fff45e7af7885f /model.h | |
parent | e50e8bff705beed1ecb41ab7b5336b39fc041056 (diff) |
eqv? is implemented
Diffstat (limited to 'model.h')
-rw-r--r-- | model.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,8 @@ const int CLS_SYM_OBJ = 1 << 2; const int CLS_OPT_OBJ = 1 << 3; const int CLS_NUM_OBJ = 1 << 4; const int CLS_BOOL_OBJ = 1 << 5; +const int CLS_CHAR_OBJ = 1 << 6; +const int CLS_STR_OBJ = 1 << 7; #define TO_CONS(ptr) \ @@ -99,6 +101,7 @@ class EvalObj : public FrameObj { bool is_num_obj(); /** Check if the object is a boolean */ bool is_bool_obj(); + ClassType get_otype(); virtual void prepare(Cons *pc); /** Any EvalObj has its external representation */ virtual string ext_repr() = 0; |