aboutsummaryrefslogtreecommitdiffstats
path: root/execute.h
diff options
context:
space:
mode:
authorbjj <bjj>2001-03-12 05:10:54 +0000
committerbjj <bjj>2001-03-12 05:10:54 +0000
commitae1c936c4a610af266c79c61d7eba01edd2ffe15 (patch)
tree1e6075b1a8790269aa756a611e85a35b439b9193 /execute.h
parent5036fa0534956f008c2aa41884d1db10a10359b9 (diff)
downloadmoo-cvs-ae1c936c4a610af266c79c61d7eba01edd2ffe15.tar.gz
moo-cvs-ae1c936c4a610af266c79c61d7eba01edd2ffe15.tar.xz
moo-cvs-ae1c936c4a610af266c79c61d7eba01edd2ffe15.zip
Split out call_verb and call_verb2. The latter must only be called with
strings that are already MOO strings (str_ref-able).
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/execute.h b/execute.h
index 6fba4d3..9b9d4f6 100644
--- a/execute.h
+++ b/execute.h
@@ -81,6 +81,10 @@ typedef enum {
or E_NONE. the vm will only be changed if E_NONE is returned */
extern enum error call_verb(Objid obj, const char *vname, Var args,
int do_pass);
+/* if your vname is already a moo str (via str_dup) then you can
+ use this interface instead */
+extern enum error call_verb2(Objid obj, const char *vname, Var args,
+ int do_pass);
extern int setup_activ_for_eval(Program * prog);
@@ -131,6 +135,10 @@ extern int read_activ(activation * a, int which_vector);
/*
* $Log$
+ * Revision 1.5 2001/03/12 05:10:54 bjj
+ * Split out call_verb and call_verb2. The latter must only be called with
+ * strings that are already MOO strings (str_ref-able).
+ *
* Revision 1.4 1998/12/14 13:17:51 nop
* Merge UNSAFE_OPTS (ref fixups); fix Log tag placement to fit CVS whims
*