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!