Re: cvs: pecl /newt newt.c

From: Date: Mon, 16 Aug 2004 15:02:31 +0000
Subject: Re: cvs: pecl /newt newt.c
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1178@lists.php.net to get a copy of this message
Something like this might be what you want then: zend_parse_parameters(5 TSRMLS_CC, "sssss", ....) which handles the first 5 required arguments; you can they use other means for the rest. Not ideal, but makes things a little easier to deal with. --Wez. > The problem is that these functions get a variable number of arguments, > like in printf(...): > > proto newt_win_ternary (string title, string button1_text, string button2_text, string > button3_text, string format [, mixed args [,mixed...]]) > > So, I need to "cut" first four arguments, others I pass in an array to the PHP > sprintf() function. I just didn't see a way how could I achieve that by > using zend_parse_parameters() ...

« previous php.pecl.dev (#1178) next »