From: Stephen D. <sd...@gm...> - 2005-10-05 18:35:19
|
Probably ok to remove. Some modules (nsdb) implement their own loading mechanism for e.g. drivers. But they seem to only use LoadModule (or whatever it's called, not at my computer right now). I wonder if some will also need to look for global variables, to checkl for module version or something...? Anyway, if Tcl implements simillar functionality, we can just migrate to the standard Tcl way of doing things. No need to wrap On 10/5/05, Zoran Vasiljevic <zv...@ar...> wrote: > ... just a quick question. > > Anybody using those C_API's: > > Ns_ModuleSymbol(CONST char *file, CONST char *name) > NS_GNUC_NONNULL(1) NS_GNUC_NONNULL(2); > > Ns_ModuleGetSymbol(CONST char *name) > NS_GNUC_NONNULL(1); > > ? > > Because I *removed* them out, given the fact that > we now use Tcl_FsLoadFile() and you do not > need those any more. > > One could simulate those (unneeded calls) with > Tcl_FSLoadFile but I thought to save myself some work. > > In the server core, only the modload.c is using > those calls. I do not know why they got exported on > the C-API level in the first place. > > Cheers > Zoran > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |