Ignore:
Timestamp:
Jan 18, 2011, 9:59:13 AM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
a6dac944
Parents:
d471a9f
Message:

Fixes #1056
Now libcint is dynamic loaded if posible.
Else, cint doesn't work but tol runs without problems

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bgrammar/spfuninst.cpp

    rd471a9f r330e6f8  
    5151#include <tol/tol_bsymboltable.h>
    5252#include <tol/tol_bnameblock.h>
    53 #include <G__ci.h>
     53#include <contrib/cint/tolCint.h>
     54
    5455
    5556BTraceInit("spfuninst.cpp");
    … …  
    16501651    BText ups = BParser::Unparse(tre, "  ");
    16511652  //Std(ups+"\n");
    1652     if(ups=="a::fun(?)::b")
     1653    if(ups=="cD::C2B")
    16531654      printf("");
    16541655  //Std(BText("\nEvMember branch1='")+BParser::Unparse(branch1,"  ")+"'\n");
    … …  
    18301831      if(gra==GraReal())
    18311832      {
    1832         BDat cnt = G__double(G__calc(name));
     1833        BDat cnt = Cint_double(Cint_calc(name));
    18331834/*
    1834         g = G__calc(name);
     1835        g = Cint_calc(name);
    18351836        bool ok = true;
    18361837        switch (g.type)
    … …  
    18551856        int rows = -1, columns = -1;
    18561857        double* buffer = NULL;
    1857         rows = G__int(G__calc(name+".rows_"));
    1858         columns = G__int(G__calc(name+".columns_"));
    1859         buffer = (double*)G__int(G__calc(BText("(int)(")+name+".buffer_)"));
     1858        rows = Cint_int(Cint_calc(name+".rows_"));
     1859        columns = Cint_int(Cint_calc(name+".columns_"));
     1860        buffer = (double*)Cint_int(Cint_calc(BText("(int)(")+name+".buffer_)"));
    18601861        if(rows>0 && columns>0 && buffer!=NULL)
    18611862        {
    … …  
    18681869        int length = -1;
    18691870        char* buffer = NULL;
    1870         length = G__int(G__calc(name+".length_"));
    1871         buffer = (char*)G__int(G__calc(BText("(int)(")+name+".buffer_)"));
     1871        length = Cint_int(Cint_calc(name+".length_"));
     1872        buffer = (char*)Cint_int(Cint_calc(BText("(int)(")+name+".buffer_)"));
    18721873        if(length>0 && buffer!=NULL)
    18731874        {
Note: See TracChangeset for help on using the changeset viewer.