Re: pushs in xs

2011-04-10 Thread John W. Krahn
shawn wilson wrote: On Apr 8, 2011 4:42 PM, "Uri Guttman" wrote: While I don't agree with uri's reaction to the post, xs ain't beginner (but something this 'beginner' has been thinking of getting into recently). as for other places, google helps. there is usenet (still alive), perlmonks, lis

Re: pushs in xs

2011-04-10 Thread shawn wilson
On Apr 8, 2011 4:42 PM, "Uri Guttman" wrote: While I don't agree with uri's reaction to the post, xs ain't beginner (but something this 'beginner' has been thinking of getting into recently). > > as for other places, google helps. there is usenet (still alive), > perlmonks, lists.perl.org to fin

Re: pushs in xs

2011-04-08 Thread Uri Guttman
> "RD" == Rob Dixon writes: RD> On 08/04/2011 10:43, Uri Guttman wrote: >> >> by definition, xs is NOT a beginner perl issue. please find another >> forum for your question. RD> This is rather churlish of you Uri. If he gets no answer here, what RD> harm has he done? At the very

Re: pushs in xs

2011-04-08 Thread Rob Dixon
On 08/04/2011 10:43, Uri Guttman wrote: by definition, xs is NOT a beginner perl issue. please find another forum for your question. This is rather churlish of you Uri. If he gets no answer here, what harm has he done? At the very least you could suggest such an alternative forum. And "by def

Re: pushs in xs

2011-04-08 Thread Paul Johnson
On Fri, Apr 08, 2011 at 02:18:19AM +0100, Patrick Dupre wrote: > Hello, > > I created my interface in c by using xs. > > This work fine: > > transition_HF* > init___ () > PREINIT: > transition_HF *trans ; > CODE: > trans = (transition_HF*) malloc (sizeof (transition_HF)) ; >RETVA

Re: pushs in xs

2011-04-08 Thread Uri Guttman
by definition, xs is NOT a beginner perl issue. please find another forum for your question. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix

pushs in xs

2011-04-08 Thread Patrick Dupre
Hello, I created my interface in c by using xs. This work fine: transition_HF* init___ () PREINIT: transition_HF *trans ; CODE: trans = (transition_HF*) malloc (sizeof (transition_HF)) ; RETVAL = trans ; OUTPUT: RETVAL but if I make a push: like: XPUSHs (sv_2mortal (newRV