Yannick Bergeron <[EMAIL PROTECTED]> writes: >Hi Nick, > >thanx for your help. This code is really more clear than the one I was about to >used. > >But I've a compiling error from the autogenerate procsinfo.c >Would be great if you could give me a hand with it > >thanx :) > > >"procsinfo.c", line 32.28: 1506-117 (S) Operand must be a scalar type. > > > > if (sv_derived_from(ST(0), "struct procsinfo")) { > IV tmp = SvIV((SV*)SvRV(ST(0))); > proc = INT2PTR(struct procsinfo,tmp);
Looks like a broken 'typemap' that should presumably be INT2PTR(struct procsinfo *,tmp)