[PD-cvs] externals/miXed/cyclone/hammer Table.c, 1.10, 1.11 comment.c, 1.9, 1.10 funbuff.c, 1.6, 1.7
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Wed Oct 31 06:42:56 CET 2007
Update of /cvsroot/pure-data/externals/miXed/cyclone/hammer
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25106/hammer
Modified Files:
Table.c comment.c funbuff.c
Log Message:
fixed problems with the classname stuff I just added:
- some objects use "x_ob" instead of the standard "x_obj"
- Table puts the t_object in some other struct
- Scope~ hides the t_object under some layer that's beyond me
Index: funbuff.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/cyclone/hammer/funbuff.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** funbuff.c 29 Oct 2007 18:58:42 -0000 1.6
--- funbuff.c 31 Oct 2007 05:42:54 -0000 1.7
***************
*** 228,232 ****
char buf[MAXPDSTRING];
t_hammernode *np;
! binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)));
for (np = x->x_tree.t_first; np; np = np->n_next)
binbuf_addv(bb, "if", np->n_key, HAMMERNODE_GETFLOAT(np));
--- 228,232 ----
char buf[MAXPDSTRING];
t_hammernode *np;
! binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_ob.te_binbuf)));
for (np = x->x_tree.t_first; np; np = np->n_next)
binbuf_addv(bb, "if", np->n_key, HAMMERNODE_GETFLOAT(np));
Index: Table.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/cyclone/hammer/Table.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Table.c 29 Oct 2007 18:58:42 -0000 1.10
--- Table.c 31 Oct 2007 05:42:54 -0000 1.11
***************
*** 317,321 ****
buf[MAXPDSTRING-1] = 0;
}
! binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)));
for (ndx = 0, ptr = cc->c_table; ndx < cc->c_length; ndx++, ptr++)
binbuf_addv(bb, "i", *ptr);
--- 317,321 ----
buf[MAXPDSTRING-1] = 0;
}
! binbuf_addv(bb, "s", atom_getsymbol(binbuf_getvec(cc->c_refs->x_ob.te_binbuf)));
for (ndx = 0, ptr = cc->c_table; ndx < cc->c_length; ndx++, ptr++)
binbuf_addv(bb, "i", *ptr);
Index: comment.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/cyclone/hammer/comment.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** comment.c 29 Oct 2007 18:58:42 -0000 1.9
--- comment.c 31 Oct 2007 05:42:54 -0000 1.10
***************
*** 456,460 ****
binbuf_addv(b, "ssiisiissiiii", gensym("#X"), gensym("obj"),
(int)t->te_xpix, (int)t->te_ypix,
! atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
x->x_pixwidth, x->x_fontsize, x->x_fontfamily,
(x->x_encoding ? x->x_encoding : gensym("?")),
--- 456,460 ----
binbuf_addv(b, "ssiisiissiiii", gensym("#X"), gensym("obj"),
(int)t->te_xpix, (int)t->te_ypix,
! atom_getsymbol(binbuf_getvec(x->x_ob.te_binbuf)),
x->x_pixwidth, x->x_fontsize, x->x_fontfamily,
(x->x_encoding ? x->x_encoding : gensym("?")),
More information about the Pd-cvs
mailing list