On Thu, Jun 30, 2005 at 08:40:38AM +0100, Bas Scheffers wrote: > I have my own perfectlty working Tcl version of it, the reason I wanted a > C based version is so I can call it from other C modules, namely my
You can call Tcl from C (with Ns_TclEval, probably other ways too). I've done that in the past, and would normally recommend sticking with it unless and until it turns out to be too slow, or otherwise problematic. E.g., I started using Ns_TclEval to do nsv operations (nsv_set, nsv_get, etc.) from C, inside my own little C wrapper functions. Then some 6+ months later it turned out I sometimes needed to do nsv operations inside C loops, for which Ns_TclEval was too slow. So I changed my wrapper function to do everything in C rather than calling Ns_TclEval, which wasn't too hard. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
