Changeset 722cbff in tol


Ignore:
Timestamp:
Nov 14, 2008, 5:58:36 PM (18 years ago)
Author:
Liván Ramírez Dorta <livanr68@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e58c684
Parents:
370f6fd2
Message:

changes from CVS not merged previously

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@158 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vbtol/source/vbtol.cpp

    r370f6fd2 r722cbff  
    2727
    2828#include "VButils.h"
    29 
    30 class BList;
    31 
    32 static BList VB_stack;
    3329
    3430/*
    … …  
    8581}
    8682
    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 
    9783int VBTol_EvalExpr(char * expr, short* nerror, short* nwarning)
    9884{
    … …  
    143129 * addr - the address of a Visual Basic function that will catch all the Tol output
    144130 * vmode - VerboseMode
     131 * initlib - if it's non zero the InitLibrary will be loaded
    145132 */
    146133//---------------------------------------------------------------------------
    147 void __declspec(dllexport) CALLBACK TolInit(long addr, BSTR vmode)
     134void __declspec(dllexport) CALLBACK TolInit(long addr, BSTR vmode, short initlib)
    148135//---------------------------------------------------------------------------
    149136{
    … …  
    158145  InitTolKernel(0, str_vmode);
    159146
    160   LoadInitLibrary(NULL);
     147  if (initlib)
     148    LoadInitLibrary(NULL);
    161149}
    162150
Note: See TracChangeset for help on using the changeset viewer.