Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: XS: how to manually handle input argument stack?

by llancet (Friar)
on Mar 08, 2014 at 05:36 UTC ( [id://1077489]=note: print w/replies, xml ) Need Help??


in reply to Re: XS: how to manually handle input argument stack?
in thread XS: how to manually handle input argument stack?

Yes, I do know the macros for perl stack operation. What I want to know is how to declare the argument list in XS function declaration, which will make perl not to croak that you passed incorrect number of arguments.
  • Comment on Re^2: XS: how to manually handle input argument stack?

Replies are listed 'Best First'.
Re^3: XS: how to manually handle input argument stack?
by davido (Cardinal) on Mar 08, 2014 at 05:39 UTC

    Are you looking for (...)? My update that included the example from List::Util probably hit just as you were posting this followup, and for that I apologize. If the List::Util::min code doesn't demonstrate what you're after, let us know.


    Dave

      Yes, that is what I want. I forgot the standard libraries, and just kept searching on Cairo. Thanks for a lot!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1077489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found