Commit 135570ef authored by pokergaming's avatar pokergaming
Browse files

* suppress printing the full list of classes when using the "print" method...

* suppress printing the full list of classes when using the "print" method with [pdinfo] (just show number of loaded classes and an informative message)
parent a59cb85f
......@@ -474,9 +474,20 @@ void pdinfo_audio_api(t_pdinfo *x, t_symbol *s, int argc, t_atom *argv)
void pdinfo_classtable(t_pdinfo *x, t_symbol *s, int argc, t_atom *argv)
{
int size = classtable_size();
if (info_to_console)
{
t_atom at[2];
SETFLOAT(at, size);
SETSYMBOL(at+1, gensym("classes loaded (\"classtable\" outputs "
"the full list)"));
info_out((t_text *)x, s, 2, at);
}
else
{
t_atom at[size];
classtable_tovec(size, at);
info_out((t_text *)x, s, size, at);
}
}
void pdinfo_audioin(t_pdinfo *x, t_symbol *s, int argc, t_atom *arg)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment