aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-10 10:55:57 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-10 10:55:57 +0000
commitc7389b6452e3d44d8f8fb9699f06c1b2db1c51ba (patch)
tree0a838b12169ae88f070df5a9c89f636507e4eb47 /shared
parentbc5e203f7787980f65f81ddbf69a619ab34fa85e (diff)
toxy alpha7
svn path=/trunk/externals/miXed/; revision=1402
Diffstat (limited to 'shared')
-rw-r--r--shared/toxy/scriptlet.c12
-rw-r--r--shared/toxy/scriptlet.h8
2 files changed, 8 insertions, 12 deletions
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);