aboutsummaryrefslogtreecommitdiff
path: root/pd/src/m_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/m_pd.c')
-rw-r--r--pd/src/m_pd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pd/src/m_pd.c b/pd/src/m_pd.c
index 8192c7e4..7ae53082 100644
--- a/pd/src/m_pd.c
+++ b/pd/src/m_pd.c
@@ -39,6 +39,13 @@ void pd_free(t_pd *x)
if (c->c_size) t_freebytes(x, c->c_size);
}
+void gobj_save(t_gobj *x, t_binbuf *b)
+{
+ t_class *c = x->g_pd;
+ if (c->c_savefn)
+ (c->c_savefn)(x, b);
+}
+
/* deal with several objects bound to the same symbol. If more than one, we
actually bind a collection object to the symbol, which forwards messages sent
to the symbol. */