[PD-cvs] pd/src desire.c,1.1.2.217.2.87,1.1.2.217.2.88
Mathieu Bouchard
matju at users.sourceforge.net
Wed Dec 20 05:38:12 CET 2006
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30354
Modified Files:
Tag: desiredata
desire.c
Log Message:
some missing stuff for hidename (0.40)
Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.87
retrieving revision 1.1.2.217.2.88
diff -C2 -d -r1.1.2.217.2.87 -r1.1.2.217.2.88
*** desire.c 20 Dec 2006 04:01:31 -0000 1.1.2.217.2.87
--- desire.c 20 Dec 2006 04:38:07 -0000 1.1.2.217.2.88
***************
*** 1602,1605 ****
--- 1602,1606 ----
saveit = (flags & 1) != 0;
t_garray *x = graph_scalar(gl, s, templatesym, saveit);
+ x->hidename = ((flags & 8) >> 3);
if (n <= 0) n = 100;
array_resize(x->scalar->v[zonset].w_array, n);
***************
*** 1970,1974 ****
filestyle = (style == PLOTSTYLE_POINTS ? 1 : (style == PLOTSTYLE_POLY ? 0 : style));
binbuf_addv(b, "sssisi;", gensym("#X"), gensym("array"),
! x->realname, array->n, &s_float, x->saveit + 2 * filestyle);
if (x->saveit) {
int n = array->n, n2 = 0;
--- 1971,1975 ----
filestyle = (style == PLOTSTYLE_POINTS ? 1 : (style == PLOTSTYLE_POLY ? 0 : style));
binbuf_addv(b, "sssisi;", gensym("#X"), gensym("array"),
! x->realname, array->n, &s_float, x->saveit + 2 * filestyle + 8*x->hidename);
if (x->saveit) {
int n = array->n, n2 = 0;
***************
*** 2132,2136 ****
TEMPLATE_FLOATY(x,array,)
nelem = array->n;
! if ((filedesc = open_via_path(canvas_getdir(canvas_getcanvas(x->canvas))->s_name,
filename->s_name, "", buf, &bufptr, MAXPDSTRING, 0)) < 0 || !(fd = fdopen(filedesc, "r"))) {
pd_error(x,"%s: can't open", filename->s_name);
--- 2133,2137 ----
TEMPLATE_FLOATY(x,array,)
nelem = array->n;
! if ((filedesc = canvas_open(canvas_getcanvas(x->canvas),
filename->s_name, "", buf, &bufptr, MAXPDSTRING, 0)) < 0 || !(fd = fdopen(filedesc, "r"))) {
pd_error(x,"%s: can't open", filename->s_name);
More information about the Pd-cvs
mailing list