aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-08 12:03:04 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-08 12:03:04 +0800
commitf0cf9e4d5cd358c7ac3759b9a1f47f07daf74104 (patch)
tree1804e66b4dc6473ac8421f2429fff45e7af7885f /model.h
parente50e8bff705beed1ecb41ab7b5336b39fc041056 (diff)
eqv? is implemented
Diffstat (limited to 'model.h')
-rw-r--r--model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/model.h b/model.h
index 9de41fc..9afbf53 100644
--- a/model.h
+++ b/model.h
@@ -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;