Re: [HOWTO] call a method on a PMC in PIR

2006-09-28 Thread Karl Forner
METHOD INTVAL get_allocated_size() { return PMC_int_val2(SELF); /* or whatever */ } great, exactly what I needed thanks karl

Re: [HOWTO] call a method on a PMC in PIR

2006-09-28 Thread Leopold Toetsch
Am Donnerstag, 28. September 2006 12:47 schrieb Karl Forner: > I suppose that again it is a trivial question, but I did not manage to find > the answer by myself in the documentation. > So I want for example to call diretly the "elements" method on a > FixedBooleanArray > > I tried > >pmc.eleme

[HOWTO] call a method on a PMC in PIR

2006-09-28 Thread Karl Forner
I suppose that again it is a trivial question, but I did not manage to find the answer by myself in the documentation. So I want for example to call diretly the "elements" method on a FixedBooleanArray I tried pmc.elements() pmc."elements"() pmc._elements() pmc.__elements() But it did n