On 30 March 2011 04:30, Erick Tryzelaar <erick.tryzel...@gmail.com> wrote: > On Tue, Mar 29, 2011 at 10:37 AM, Rhythmic Fistman <rfist...@gmail.com> wrote: >> Now I'm getting an error in some of my binding code: >> >> ctypes apoint, arect; >> >> proc set_rect: lvalue[arect]*int*int*int*int = "set_rect(&$1, $2, $3, $4, >> $5);"; >> >> ************ >> >> It looks like lvalue went away. I'm not sure what an lvalue[T] was >> exactly, but I know I want >> a reference/pointer to a local felix variable that happens to be a c struct. >> gcptr[T] looks sort of like what I want, although maybe it will lead >> me into the old felix quandary where I had two distinct types (cthing >> and ptr_to_cthing). > > Hi RF! Yes, we got rid of lvalues. I think you can replace what you said with > > proc set_rect: &arect*int*int*int*int = "set_rect($1, $2, $3, $4, $5);";
Thanks! Now I've got my felix code compiling to cpp again, using the 2007 version of flxcc to generate the massive enum. Now to unbreak my custom driver. RF ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language