On Wednesday 12 March 2003 20:45, you wrote:
> I wonder if Ns_TclGetVersion would be less confusing and more consistent
> with other Ns_Tcl... function (such as Ns_TclGetLibrary()).
>

Well, it really has nothing to do with the Tcl.
IIRC, the Ns_Tcl... familiy does someting with the
Tcl interp most of the time.

I'd may expand the proposal (thanks Scott!) with:

  void Ns_GetVersion(int *major, int *minor, int *patch, int *type);

where type can be one of:

#define NS_ALPHA_RELEASE 0
#define NS_BETA_RELEASE  1
#define NS_FINAL_RELEASE 2

This will simplify run-time configuration
of modules.

Also ...

#define NS_MAJOR_VERSION 4
#define NS_MINOR_VERSION 0
#define NS_RELEASE_LEVEL NS_BETA_RELEASE

This would simplify conditional compilation
of modules.

For (near) future, we should make the stub-support
for nsd, so that modules get compiled against the
stub library in order to be independent of the
nsd binary. This has proven very convenient in
Tcl world. This is little more work to do than
the above, though.

Cheers,
Zoran



I. To remove yourself from this list:

Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/

Reply via email to