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);";

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to