Re: Variable Argument Lists, how to handle?



On man, 2002-10-28 at 15:37, Guillaume Cottenceau wrote:

But there is mechanism in XS and Inline to pass variable argunemt lists
directly. So there is no need for perl 'proxy' method, it can be directly
written in Inline (as describe at
http://search.cpan.org/author/INGY/Inline-0.43/C/C-Cookbook.pod#Variable_Arg
ument_Lists):


SV* gtkperl_list_store__new(char* class, int n_columns, ...)
{
    Inline_Stack_Vars;

I'm clearly against using that because it would oblige us to stay
with Inline.

The Inline_* macros are just wrappers around XS macros that access the
stack. You can just just the XS macros directly.

./borup




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]