tclobj.c File Reference

#include "nsd.h"

Functions

void NsTclInitTimeType ()
void Ns_TclSetTimeObj (Tcl_Obj *objPtr, Ns_Time *timePtr)
int Ns_TclGetTimeFromObj (Tcl_Interp *interp, Tcl_Obj *objPtr, Ns_Time *timePtr)

Function Documentation

int Ns_TclGetTimeFromObj ( Tcl_Interp *  interp,
Tcl_Obj *  objPtr,
Ns_Time *  timePtr 
)

----------------------------------------------------------------------

Ns_TclGetTimeFromObj --

Return the internal value of an Ns_Time Tcl_Obj.

Results: TCL_OK or TCL_ERROR if not a valid Ns_Time.

Side effects: Object is set to Ns_Time type if necessary.

----------------------------------------------------------------------

void Ns_TclSetTimeObj ( Tcl_Obj *  objPtr,
Ns_Time *  timePtr 
)

----------------------------------------------------------------------

Ns_TclSetTimeObj --

Set a Tcl_Obj to an Ns_Time object.

Results: None.

Side effects: String rep is invalidated and internal rep is set.

----------------------------------------------------------------------

void NsTclInitTimeType ( void   ) 

----------------------------------------------------------------------

NsTclInitTimeType --

Initialize Ns_Time Tcl_Obj type.

Results: None.

Side effects: None.

----------------------------------------------------------------------


Generated on Tue Sep 4 19:58:56 2007 by  doxygen 1.5.1