diff options
author | Teddy <[email protected]> | 2013-08-10 23:42:42 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-10 23:42:42 +0800 |
commit | 2729f71c327f8ef4ddbb620dc486e7334ba40119 (patch) | |
tree | 660ea8b5fe582cb2895cf66f1a10a536df33afbd /model.cpp | |
parent | 80e885a9847c9bce1be8cccafc85ea39cbc120e2 (diff) |
more built-ins
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } |