Changeset 6f2da0d in tol
- Timestamp:
- Dec 16, 2010, 1:45:02 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 93312975
- Parents:
- e3eca1a
- Location:
- tol
- Files:
-
- 2 edited
-
init.cpp (modified) (5 diffs)
-
tol_init.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/init.cpp
re3eca1a r6f2da0d 69 69 #include <tol/tol_bnameblock.h> 70 70 71 int Cint_initialize(const BText& filePath);72 71 73 72 #ifdef _DEBUG … … 127 126 128 127 128 int Cint_initialize(const BText& filePath); 129 130 //-------------------------------------------------------------------- 131 TOL_API void InitCint () 132 //-------------------------------------------------------------------- 133 { 134 Cint_initialize(""); 135 } 129 136 130 137 //-------------------------------------------------------------------- … … 427 434 static BBool initGrammars_ = BFALSE; 428 435 429 Cint_initialize("");436 InitCint(); 430 437 if(initGrammars_) { return(false); } 431 438 … … 857 864 BTolOprProfiler_Init(); 858 865 TOLHasBeenInitialized_ = true; 859 //Cint_initialize("");860 866 return(initGrammars_); 861 867 } … … 1382 1388 //-------------------------------------------------------------------- 1383 1389 { 1384 //Cint_initialize("");1390 InitCint(); 1385 1391 BText::PutLanguage(lang); 1386 1392 InitVerboseMode(); -
tol/tol_init.h
re3eca1a r6f2da0d 33 33 34 34 //calledProgram should be argv[0] in main function 35 TOL_API void InitCint (); 35 36 TOL_API void InitializeFromMainArgs(int argc, char *argv[], char *env[]); 36 37 TOL_API void LoadInitLibrary (char* calledProgram);
Note: See TracChangeset
for help on using the changeset viewer.
