From c7389b6452e3d44d8f8fb9699f06c1b2db1c51ba Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 10 Mar 2004 10:55:57 +0000 Subject: toxy alpha7 svn path=/trunk/externals/miXed/; revision=1402 --- shared/toxy/scriptlet.c | 12 ++++++------ shared/toxy/scriptlet.h | 8 ++------ 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'shared') diff --git a/shared/toxy/scriptlet.c b/shared/toxy/scriptlet.c index 4f4221f..b21f51a 100644 --- a/shared/toxy/scriptlet.c +++ b/shared/toxy/scriptlet.c @@ -342,9 +342,9 @@ void scriptlet_prealloc(t_scriptlet *sp, int sz, int mayshrink) scriptlet_reset(sp); } -int scriptlet_addstring(t_scriptlet *sp, char *ibuf, - int resolveall, int visedonly, - int ac, t_atom *av, t_props *argprops) +static int scriptlet_addstring(t_scriptlet *sp, char *ibuf, + int resolveall, int visedonly, + int ac, t_atom *av, t_props *argprops) { int result = 1; char *bp = ibuf, *ep = ibuf, *ep1; @@ -373,7 +373,7 @@ int scriptlet_addstring(t_scriptlet *sp, char *ibuf, return (result); } -int scriptlet_addfloat(t_scriptlet *sp, t_float f) +static int scriptlet_addfloat(t_scriptlet *sp, t_float f) { char buf[64]; if (!sp->s_separator) @@ -450,8 +450,8 @@ void scriptlet_vpush(t_scriptlet *sp, char *varname) } } -int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, - int visedonly, int ac, t_atom *av, t_props *argprops) +int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, int visedonly, + int ac, t_atom *av, t_props *argprops) { if (scriptlet_ready(insp)) { diff --git a/shared/toxy/scriptlet.h b/shared/toxy/scriptlet.h index b284797..30b8df9 100644 --- a/shared/toxy/scriptlet.h +++ b/shared/toxy/scriptlet.h @@ -21,16 +21,12 @@ void scriptlet_reset(t_scriptlet *sp); void scriptlet_prealloc(t_scriptlet *sp, int sz, int mayshrink); int scriptlet_add(t_scriptlet *sp, int resolveall, int visedonly, int ac, t_atom *av); -int scriptlet_addstring(t_scriptlet *sp, char *ibuf, - int resolveall, int visedonly, - int ac, t_atom *av, t_props *argprops); -int scriptlet_addfloat(t_scriptlet *sp, t_float f); void scriptlet_setseparator(t_scriptlet *sp, char c); void scriptlet_push(t_scriptlet *sp); void scriptlet_qpush(t_scriptlet *sp); void scriptlet_vpush(t_scriptlet *sp, char *varname); -int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, - int visedonly, int ac, t_atom *av, t_props *argprops); +int scriptlet_evaluate(t_scriptlet *insp, t_scriptlet *outsp, int visedonly, + int ac, t_atom *av, t_props *argprops); char *scriptlet_nextword(char *buf); int scriptlet_rcparse(t_scriptlet *sp, t_pd *caller, char *rc, char *contents, t_scriptlet_cmntfn cmntfn); -- cgit v1.2.1