Update of /cvsroot/pure-data/externals/io/wiiremote In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3012
Modified Files: aka.wiiremote.c Log Message: oops, forgot to allocate memory to the pointer! tsk tsk...
Index: aka.wiiremote.c =================================================================== RCS file: /cvsroot/pure-data/externals/io/wiiremote/aka.wiiremote.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** aka.wiiremote.c 28 Dec 2006 23:16:03 -0000 1.5 --- aka.wiiremote.c 3 Jan 2007 01:01:08 -0000 1.6 *************** *** 311,314 **** --- 311,315 ---- t_akawiiremote *x = (t_akawiiremote *)pd_new(wiiremote_class);
+ x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); // add in 1.0B4 if (x->wiiremote != nil) wiiremote_init(x->wiiremote);