aboutsummaryrefslogtreecommitdiff
path: root/toxy/widgettype.c
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2005-01-11 10:33:23 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2005-01-11 10:33:23 +0000
commit6435314717c5fb8fa062eb682c72c8df095b1be3 (patch)
tree484d02446358890397a755fc144d4ecf25b38f2d /toxy/widgettype.c
parentb89456a346e176c4dc536e7de8f14b152cb2b15b (diff)
svf~: args parsing; prepend/Append: bang handling; seq: pause, continue, goto; many maxmode changes
svn path=/trunk/externals/miXed/; revision=2490
Diffstat (limited to 'toxy/widgettype.c')
-rw-r--r--toxy/widgettype.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/toxy/widgettype.c b/toxy/widgettype.c
index 20ff933..0b993c1 100644
--- a/toxy/widgettype.c
+++ b/toxy/widgettype.c
@@ -61,14 +61,14 @@ static void widgettype_map(t_widgettype *wt, char *cls, char *pkg)
/* only for debugging (never call, unless certain that nobody references wt) */
static void widgettype_free(t_masterwidget *mw, t_widgettype *wt)
{
- fprintf(stderr, "widgettype free... ");
+ loudbug_startpost("widgettype free... ");
dict_unbind(mw->mw_typemap, (t_pd *)wt, wt->wt_typekey);
props_freeall(wt->wt_options);
scriptlet_free(wt->wt_iniscript);
scriptlet_free(wt->wt_newscript);
scriptlet_free(wt->wt_freescript);
pd_free((t_pd *)wt);
- fprintf(stderr, "done\n");
+ loudbug_post("done");
}
#endif
@@ -141,7 +141,7 @@ static t_scriptlet *masterwidget_cmnthook(t_pd *caller, char *rc,
typeval = widgettype_new(mw, buf, cls, pkg);
mw->mw_parsedtype = typeval;
#ifdef WIDGETTYPE_DEBUG
- post("adding widget type '%s'", typeval->wt_typekey->s_name);
+ loudbug_post("adding widget type '%s'", typeval->wt_typekey->s_name);
#endif
scriptlet_reset(typeval->wt_iniscript);
return (typeval->wt_iniscript);
@@ -217,7 +217,7 @@ static int widgettype_doload(t_widgettype *wt, t_symbol *s)
== SCRIPTLET_OK)
{
#ifdef WIDGETTYPE_VERBOSE
- post("using a separate %s's definition file", s->s_name);
+ loudbug_post("using a separate %s's definition file", s->s_name);
#endif
if (!scriptlet_isempty(mwsp))
{
@@ -229,7 +229,7 @@ static int widgettype_doload(t_widgettype *wt, t_symbol *s)
scriptlet_push(sp);
scriptlet_append(masterwidget->mw_setupscript, mwsp);
}
- else bug("widgettype_doload");
+ else loudbug_bug("widgettype_doload");
scriptlet_free(sp);
}
result = 1;
@@ -376,7 +376,7 @@ void masterwidget_validate(void)
if (rcresult == SCRIPTLET_OK)
{
#ifdef WIDGETTYPE_VERBOSE
- post("using file 'setup.wid'");
+ loudbug_post("using file 'setup.wid'");
#endif
}
else
@@ -410,7 +410,7 @@ void masterwidget_validate(void)
}
else
{
- bug("masterwidget_validate 1");
+ loudbug_bug("masterwidget_validate 1");
rcresult = SCRIPTLET_BADFILE;
}
if (rcresult == SCRIPTLET_OK)
@@ -421,7 +421,7 @@ void masterwidget_validate(void)
if (scriptlet_evaluate(masterwidget->mw_setupscript, sp, 0, 0, 0, 0))
scriptlet_push(sp);
else
- bug("masterwidget_validate 2");
+ loudbug_bug("masterwidget_validate 2");
scriptlet_free(sp);
}
}