aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'model.h')
-rw-r--r--model.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/model.h b/model.h
index 42765ba..b8cd873 100644
--- a/model.h
+++ b/model.h
@@ -46,6 +46,9 @@ class EvalObj : public FrameObj {
virtual string ext_repr() = 0;
/**< Always true for all EvalObjs except BoolObj */
virtual bool is_true();
+#ifdef DEBUG
+ virtual void _debug_print();
+#endif
};
/** @class Cons
@@ -88,6 +91,7 @@ class RetAddr : public FrameObj {
Cons* addr; /**< The return address */
RetAddr(Cons *);
+ string _debug_repr();
};
@@ -110,7 +114,7 @@ class SymObj: public EvalObj {
public:
string val;
- SymObj(string);
+ SymObj(const string &);
#ifdef DEBUG
string _debug_repr();
#endif
@@ -181,7 +185,7 @@ class BuiltinProcObj: public OptObj {
BuiltinProc handler;
string name;
public:
- BuiltinProcObj(BuiltinProc, string);
+ BuiltinProcObj(BuiltinProc, const string &);
Cons *call(ArgList *arg_list, Environment * &envt,
Continuation * &cont, FrameObj ** &top_ptr);
};