aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
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 1ace1c9..9ccdf20 100644
--- a/model.h
+++ b/model.h
@@ -92,6 +92,7 @@ class EvalObj : public FrameObj {
bool is_prom_obj();
/** Check if the object is a vector */
bool is_vect_obj();
+ bool is_container();
int get_otype();
virtual void prepare(Pair *pc);
/** Any EvalObj has its external representation */
@@ -106,6 +107,8 @@ class Container: public EvalObj {
public:
size_t gc_refs;
Container(int otype);
+ virtual void gc_decrement() = 0;
+ virtual void gc_trigger(EvalObj ** &tail) = 0;
};
/** @class RetAddr