[PD-cvs] pd/src m_obj.c,1.2.4.3.2.10.2.6,1.2.4.3.2.10.2.7
Mathieu Bouchard
matju at users.sourceforge.net
Wed Dec 13 06:37:59 CET 2006
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20753
Modified Files:
Tag: desiredata
m_obj.c
Log Message:
object_table
Index: m_obj.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_obj.c,v
retrieving revision 1.2.4.3.2.10.2.6
retrieving revision 1.2.4.3.2.10.2.7
diff -C2 -d -r1.2.4.3.2.10.2.6 -r1.2.4.3.2.10.2.7
*** m_obj.c 13 Dec 2006 04:27:55 -0000 1.2.4.3.2.10.2.6
--- m_obj.c 13 Dec 2006 05:37:57 -0000 1.2.4.3.2.10.2.7
***************
*** 268,275 ****
return self;
}
! void wire_free (t_wire *self) {
! appendix_free((t_gobj *)self);
! pd_free((t_pd *)self);
! }
void wire_save (t_wire *self, t_binbuf *b) {
t_canvas *c = self->oc_gobj.dix->canvas;
--- 268,273 ----
return self;
}
! void wire_free (t_wire *self) {/* nothing here */}
!
void wire_save (t_wire *self, t_binbuf *b) {
t_canvas *c = self->oc_gobj.dix->canvas;
***************
*** 384,388 ****
if (oc->oc_to == to) {
o->o_connections = oc->oc_next;
! freebytes(oc, sizeof(*oc));
goto done;
}
--- 382,386 ----
if (oc->oc_to == to) {
o->o_connections = oc->oc_next;
! pd_free((t_pd *)oc);
goto done;
}
***************
*** 390,394 ****
if (oc2->oc_to == to) {
oc->oc_next = oc2->oc_next;
! freebytes(oc2, sizeof(*oc2));
goto done;
}
--- 388,392 ----
if (oc2->oc_to == to) {
oc->oc_next = oc2->oc_next;
! pd_free((t_pd *)oc);
goto done;
}
More information about the Pd-cvs
mailing list