aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-10 23:42:42 +0800
committerTeddy <[email protected]>2013-08-10 23:42:42 +0800
commit2729f71c327f8ef4ddbb620dc486e7334ba40119 (patch)
tree660ea8b5fe582cb2895cf66f1a10a536df33afbd /model.cpp
parent80e885a9847c9bce1be8cccafc85ea39cbc120e2 (diff)
more built-ins
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/model.cpp b/model.cpp
index bbb4d75..7434690 100644
--- a/model.cpp
+++ b/model.cpp
@@ -51,6 +51,10 @@ bool EvalObj::is_bool_obj() {
return otype & CLS_BOOL_OBJ;
}
+bool EvalObj::is_str_obj() {
+ return otype & CLS_STR_OBJ;
+}
+
int EvalObj::get_otype() {
return otype;
}