aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-09 17:58:48 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-09 17:58:48 +0800
commitf8a870c48886e8828155d05b0da6b7868344ba6a (patch)
treec644eecb1eab55b3e08390efb179c6d6bdbab045 /model.h
parent01b2c905872ff38d5d8291f2f8de92c2771f183f (diff)
added `and` operator
Diffstat (limited to 'model.h')
-rw-r--r--model.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/model.h b/model.h
index a4c6a1f..88b29cb 100644
--- a/model.h
+++ b/model.h
@@ -181,7 +181,7 @@ class VecObj;
class VectReprCons : public ReprCons {
private:
VecObj *ptr;
- int idx;
+ size_t idx;
public:
VectReprCons(VecObj *ptr, EvalObj *ori);
EvalObj *next(const string &prev);
@@ -377,7 +377,7 @@ class VecObj: public EvalObj {
EvalObjVec vec;
/** Construct a vector object */
VecObj();
- int get_size();
+ size_t get_size();
EvalObj *get_obj(int idx);
/** Resize the vector */
void resize(int new_size);
@@ -434,4 +434,6 @@ class Continuation {
Pair *proc_body);
};
+bool is_list();
+
#endif