Re: struct and pointer to pointer in ATTR

2008-08-28 Thread Allison Randal
NotFound wrote: Hello. The current grammar for ATTR in pmc2c allows declarations of the form: type * varname In the perl6multisub pmc we have the attribute candidates_sorted whose intended type is candidate_info **, having two problems: The current grammar allows a single pointer, not a

Re: struct and pointer to pointer in ATTR

2008-08-28 Thread NotFound
On Thu, Aug 28, 2008 at 11:33 AM, Allison Randal [EMAIL PROTECTED] wrote: Approved for application. But, keep in mind that ATTRs other than INTVAL, FLOATVAL, STRING *, and PMC * cannot have automatic GET_ATTR/SET_ATTR accessor macros generated for them, and any C PMCs with these low-level

struct and pointer to pointer in ATTR

2008-08-27 Thread NotFound
Hello. The current grammar for ATTR in pmc2c allows declarations of the form: type * varname In the perl6multisub pmc we have the attribute candidates_sorted whose intended type is candidate_info **, having two problems: The current grammar allows a single pointer, not a pointer to a pointer.