[PD-cvs] pd/src x_list.c, 1.2.2.9.2.4, 1.2.2.9.2.5 x_net.c, 1.2.4.2.2.2.2.3, 1.2.4.2.2.2.2.4
Mathieu Bouchard
matju at users.sourceforge.net
Wed Jan 3 08:12:52 CET 2007
- Previous message: [PD-cvs] pd/src x_arithmetic.c, 1.2.10.2, 1.2.10.3 x_connective.c, 1.3.4.1.2.10.2.4, 1.3.4.1.2.10.2.5 x_gui.c, 1.3.4.1.2.5.2.2, 1.3.4.1.2.5.2.3
- Next message: [PD-cvs] pd/src makefile.in, 1.4.4.2.2.21.2.18, 1.4.4.2.2.21.2.19 desire.c, 1.1.2.217.2.107, 1.1.2.217.2.108 x_midi.c, 1.2.8.6, 1.2.8.6.2.1 s_midi.c, 1.4.4.1.2.12.2.5, 1.4.4.1.2.12.2.6 s_stuff.h, 1.5.4.10.2.8.2.6, 1.5.4.10.2.8.2.7 x_net.c, 1.2.4.2.2.2.2.4, 1.2.4.2.2.2.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10764
Modified Files:
Tag: desiredata
x_list.c x_net.c
Log Message:
compile as C++
Index: x_list.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_list.c,v
retrieving revision 1.2.2.9.2.4
retrieving revision 1.2.2.9.2.5
diff -C2 -d -r1.2.2.9.2.4 -r1.2.2.9.2.5
*** x_list.c 20 Dec 2006 08:14:25 -0000 1.2.2.9.2.4
--- x_list.c 3 Jan 2007 07:12:50 -0000 1.2.2.9.2.5
***************
*** 321,325 ****
int argc, t_atom *argv)
{
! int n = x->x_f;
if (n < 0)
n = 0;
--- 321,325 ----
int argc, t_atom *argv)
{
! int n = (int)x->x_f;
if (n < 0)
n = 0;
***************
*** 403,411 ****
} t_list_length;
! static void *list_length_new( void)
{
t_list_length *x = (t_list_length *)pd_new(list_length_class);
outlet_new(&x->x_obj, &s_float);
! return (x);
}
--- 403,411 ----
} t_list_length;
! static t_pd *list_length_new( void)
{
t_list_length *x = (t_list_length *)pd_new(list_length_class);
outlet_new(&x->x_obj, &s_float);
! return (t_pd *)x;
}
Index: x_net.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_net.c,v
retrieving revision 1.2.4.2.2.2.2.3
retrieving revision 1.2.4.2.2.2.2.4
diff -C2 -d -r1.2.4.2.2.2.2.3 -r1.2.4.2.2.2.2.4
*** x_net.c 20 Dec 2006 09:09:19 -0000 1.2.4.2.2.2.2.3
--- x_net.c 3 Jan 2007 07:12:50 -0000 1.2.4.2.2.2.2.4
***************
*** 45,49 ****
struct hostent *hp;
int sockfd;
! int portno = fportno;
int intarg;
if (x->x_fd >= 0)
--- 45,49 ----
struct hostent *hp;
int sockfd;
! int portno = (int)fportno;
int intarg;
if (x->x_fd >= 0)
***************
*** 253,257 ****
t_netreceive *x;
struct sockaddr_in server;
! int sockfd, portno = fportno, udp = (udpflag != 0);
int old = !strcmp(compatflag->s_name , "old");
int intarg;
--- 253,257 ----
t_netreceive *x;
struct sockaddr_in server;
! int sockfd, portno = (int)fportno, udp = (udpflag != 0);
int old = !strcmp(compatflag->s_name , "old");
int intarg;
***************
*** 307,312 ****
if (udp) /* datagram protocol */
{
! t_socketreceiver *y = socketreceiver_new((void *)x,
! (t_socketnotifier)netreceive_notify, sockfd,
(x->x_msgout ? netreceive_doit : 0), 1);
sys_addpollfn(sockfd, (t_fdpollfn)socketreceiver_read, y);
--- 307,311 ----
if (udp) /* datagram protocol */
{
! t_socketreceiver *y = socketreceiver_new((t_pd *)x, sockfd, (t_socketnotifier)netreceive_notify,
(x->x_msgout ? netreceive_doit : 0), 1);
sys_addpollfn(sockfd, (t_fdpollfn)socketreceiver_read, y);
- Previous message: [PD-cvs] pd/src x_arithmetic.c, 1.2.10.2, 1.2.10.3 x_connective.c, 1.3.4.1.2.10.2.4, 1.3.4.1.2.10.2.5 x_gui.c, 1.3.4.1.2.5.2.2, 1.3.4.1.2.5.2.3
- Next message: [PD-cvs] pd/src makefile.in, 1.4.4.2.2.21.2.18, 1.4.4.2.2.21.2.19 desire.c, 1.1.2.217.2.107, 1.1.2.217.2.108 x_midi.c, 1.2.8.6, 1.2.8.6.2.1 s_midi.c, 1.4.4.1.2.12.2.5, 1.4.4.1.2.12.2.6 s_stuff.h, 1.5.4.10.2.8.2.6, 1.5.4.10.2.8.2.7 x_net.c, 1.2.4.2.2.2.2.4, 1.2.4.2.2.2.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list