[PD-cvs] externals/miXed/shared/toxy scriptlet.c, 1.17, 1.18 scriptlet.h, 1.5, 1.6
Krzysztof Czaja
krzyszcz at users.sourceforge.net
Tue May 10 19:58:43 CEST 2005
- Previous message: [PD-cvs] externals/miXed/shared/common patchvalue.c, NONE, 1.1 patchvalue.h, NONE, 1.1 Makefile.sources, 1.6, 1.7
- Next message: [PD-cvs] externals/miXed/shared/unstable fragile.c, 1.7, 1.8 fragile.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/miXed/shared/toxy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10109/toxy
Modified Files:
scriptlet.c scriptlet.h
Log Message:
toxy alpha17 and pddp alpha1 (see notes.txt for toxy, pddp and shared)
Index: scriptlet.h
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/shared/toxy/scriptlet.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** scriptlet.h 21 Dec 2004 11:32:12 -0000 1.5
--- scriptlet.h 10 May 2005 17:58:41 -0000 1.6
***************
*** 1,3 ****
! /* Copyright (c) 2003-2004 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
--- 1,3 ----
! /* Copyright (c) 2003-2005 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
***************
*** 42,47 ****
void scriptlet_append(t_scriptlet *to, t_scriptlet *from);
void scriptlet_free(t_scriptlet *sp);
! t_scriptlet *scriptlet_new(t_pd *owner, t_symbol *rptarget, t_symbol *cbtarget,
! t_symbol *item, t_glist *gl, t_scriptlet_cvfn cvfn);
#endif
--- 42,50 ----
void scriptlet_append(t_scriptlet *to, t_scriptlet *from);
void scriptlet_free(t_scriptlet *sp);
! t_scriptlet *scriptlet_new(t_pd *owner,
! t_symbol *rptarget, t_symbol *cbtarget,
! t_symbol *item, t_glist *glist,
! t_scriptlet_cvfn cvfn);
! t_scriptlet *scriptlet_newalike(t_scriptlet *sp);
#endif
Index: scriptlet.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/shared/toxy/scriptlet.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** scriptlet.c 12 Mar 2005 00:19:11 -0000 1.17
--- scriptlet.c 10 May 2005 17:58:41 -0000 1.18
***************
*** 1,3 ****
! /* Copyright (c) 2003-2004 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
--- 1,3 ----
! /* Copyright (c) 2003-2005 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
***************
*** 47,51 ****
t_symbol *s_rptarget; /* reply target */
t_symbol *s_cbtarget; /* callback target */
! t_symbol *s_item;
t_scriptlet_cvfn s_cvfn; /* if empty, passing resolveall is a bug */
t_canvas *s_cv; /* as returned by cvfn */
--- 47,51 ----
t_symbol *s_rptarget; /* reply target */
t_symbol *s_cbtarget; /* callback target */
! t_symbol *s_item; /* item's name (readable part of its path) */
t_scriptlet_cvfn s_cvfn; /* if empty, passing resolveall is a bug */
t_canvas *s_cv; /* as returned by cvfn */
***************
*** 1049,1054 ****
field, if implicitly set, would be dangerous (after a glist is gone)
and confusing (current directory used for i/o of a global scriptlet). */
! t_scriptlet *scriptlet_new(t_pd *owner, t_symbol *rptarget, t_symbol *cbtarget,
! t_symbol *item, t_glist *gl, t_scriptlet_cvfn cvfn)
{
t_scriptlet *sp = getbytes(sizeof(*sp));
--- 1049,1056 ----
field, if implicitly set, would be dangerous (after a glist is gone)
and confusing (current directory used for i/o of a global scriptlet). */
! t_scriptlet *scriptlet_new(t_pd *owner,
! t_symbol *rptarget, t_symbol *cbtarget,
! t_symbol *item, t_glist *glist,
! t_scriptlet_cvfn cvfn)
{
t_scriptlet *sp = getbytes(sizeof(*sp));
***************
*** 1066,1070 ****
}
sp->s_owner = owner;
! sp->s_glist = gl;
sp->s_rptarget = rptarget;
sp->s_cbtarget = cbtarget;
--- 1068,1072 ----
}
sp->s_owner = owner;
! sp->s_glist = glist;
sp->s_rptarget = rptarget;
sp->s_cbtarget = cbtarget;
***************
*** 1080,1081 ****
--- 1082,1089 ----
return (sp);
}
+
+ t_scriptlet *scriptlet_newalike(t_scriptlet *sp)
+ {
+ return (scriptlet_new(sp->s_owner, sp->s_rptarget, sp->s_cbtarget,
+ sp->s_item, sp->s_glist, sp->s_cvfn));
+ }
- Previous message: [PD-cvs] externals/miXed/shared/common patchvalue.c, NONE, 1.1 patchvalue.h, NONE, 1.1 Makefile.sources, 1.6, 1.7
- Next message: [PD-cvs] externals/miXed/shared/unstable fragile.c, 1.7, 1.8 fragile.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list