Changeset d5d6e31 in tol
- Timestamp:
- Nov 4, 2011, 2:08:47 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 08e78b9
- Parents:
- b3eeebe
- Location:
- toltcl/generic
- Files:
-
- 3 edited
-
tolaccess.cpp (modified) (1 diff)
-
toltcl.c (modified) (1 diff)
-
toltclInt.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
toltcl/generic/tolaccess.cpp
rb3eeebe rd5d6e31 142 142 } 143 143 return TCL_OK; 144 } 145 146 int Tol_IsInitialized( ) 147 { 148 return BGrammar::Exists( "Real" ); 144 149 } 145 150 -
toltcl/generic/toltcl.c
rb3eeebe rd5d6e31 217 217 lang = (objc == 1 || !strcasecmp("es", Tcl_GetString(objv[1]))); 218 218 vmode = objc == 3 ? Tcl_GetString(objv[2]) : NULL; 219 /* 220 * Initialize kernel 221 */ 222 223 InitTolKernel(Tcl_GetNameOfExecutable(), lang, vmode&&vmode[0]?vmode:NULL); 224 225 /* 226 * this should only be called to find out where the GSL errors are generated 227 */ 228 229 Tol_gsl_set_error_handler(&TT_gsl_error_handler); 230 219 220 if ( !Tol_IsInitialized( ) ) { 221 //printf( "TOL no esta inicializado\n" ); 222 /* 223 * Initialize kernel 224 */ 225 226 InitTolKernel(Tcl_GetNameOfExecutable(), lang, vmode&&vmode[0]?vmode:NULL); 227 228 /* 229 * this should only be called to find out where the GSL errors are generated 230 */ 231 232 Tol_gsl_set_error_handler(&TT_gsl_error_handler); 233 } else { 234 //printf( "TOL esta inicializado\n" ); 235 } 236 231 237 /* 232 238 * Install tol::* commands -
toltcl/generic/toltclInt.h
rb3eeebe rd5d6e31 39 39 #endif 40 40 41 42 41 BEGIN_C_DECLS 43 42 44 45 43 extern Tcl_Interp * TT_interp; 44 45 /*! Check if TOL kernel has being initialized 46 */ 47 extern int Tol_IsInitialized (); 46 48 47 49 /*! Fill in obj_result the version info corresponding to tol
Note: See TracChangeset
for help on using the changeset viewer.
