From: Vlad S. <vl...@cr...> - 2006-01-11 19:57:23
|
No Zoran Vasiljevic wrote: > > Am 02.01.2006 um 13:31 schrieb Zoran Vasiljevic: > >> >> Am 31.12.2005 um 18:24 schrieb Vlad Seryakov: >> >>> Agreed on that as well, let's do it >> >> >> Conclusion: >> >> ns_register_filter when method urlPattern script ?arg1 arg2 ...?" >> >> The script definition must thus match: >> >> proc script {when args} {...} >> >> For calls w/o args, we are compatbile with AS. >> For calls w/ args, we are not. >> >> Who will do that? Stephen? > > > I'm looking into this now... I will suggest we change > this for *all* Tcl callbacks. Therefore the: > > Ns_TclCallback * > Ns_TclNewCallback(Tcl_Interp *interp, void *cbProc, > char *script, char *scriptarg) > > should migrate to: > > Ns_TclCallback * > Ns_TclNewCallback(Tcl_Interp *interp, void *cbProc, > char *script, int argc, char **argv) > > where argc will hold the number and argv strings of all > arguments. > I do not know if anybody from outside is using this call > in which case we should name it something like: > > Ns_TclNewCallbackEx > > (admitently, not very innovative...) > > Does anybody use this call? Vlad, do you use it in > some of your numerous modules? > > Cheers > Zoran > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |