Changeset 722cbff in tol
- Timestamp:
- Nov 14, 2008, 5:58:36 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- e58c684
- Parents:
- 370f6fd2
- File:
-
- 1 edited
-
vbtol/source/vbtol.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vbtol/source/vbtol.cpp
r370f6fd2 r722cbff 27 27 28 28 #include "VButils.h" 29 30 class BList;31 32 static BList VB_stack;33 29 34 30 /* … … 85 81 } 86 82 87 static void VB_concat(BList* head, BList* tail)88 {89 if (head->Cdr()) {90 VB_concat(head->Cdr(), tail);91 }92 else {93 head->PutCdr(tail);94 }95 }96 97 83 int VBTol_EvalExpr(char * expr, short* nerror, short* nwarning) 98 84 { … … 143 129 * addr - the address of a Visual Basic function that will catch all the Tol output 144 130 * vmode - VerboseMode 131 * initlib - if it's non zero the InitLibrary will be loaded 145 132 */ 146 133 //--------------------------------------------------------------------------- 147 void __declspec(dllexport) CALLBACK TolInit(long addr, BSTR vmode )134 void __declspec(dllexport) CALLBACK TolInit(long addr, BSTR vmode, short initlib) 148 135 //--------------------------------------------------------------------------- 149 136 { … … 158 145 InitTolKernel(0, str_vmode); 159 146 160 LoadInitLibrary(NULL); 147 if (initlib) 148 LoadInitLibrary(NULL); 161 149 } 162 150
Note: See TracChangeset
for help on using the changeset viewer.
