Changeset faacc9 in git


Ignore:
Timestamp:
Jan 21, 2011, 2:45:25 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
962240dca199e5ec1f6584d3e43c577b2f1b7f24
Parents:
93134ce8b1735ff9eee324c4ecb029187ba24c08
Message:
hide blackbox debug stuff

git-svn-id: file:///usr/local/Singular/svn/trunk@13802 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/blackbox.cc

    r93134c rfaacc9  
    33#include <Singular/subexpr.h>
    44#include <Singular/blackbox.h>
     5
     6//#define BLACKBOX_DEVEL 1
    57
    68static blackbox* blackboxTable[100];
     
    6365  blackboxTable[blackboxTableCnt]=bb;
    6466  blackboxName[blackboxTableCnt]=omStrDup(n);
     67#ifdef BLACKBOX_DEVEL
    6568  Print("define bb:name=%s:rt=%d (table:cnt=%d)\n",blackboxName[blackboxTableCnt],blackboxTableCnt+BLACKBOX_OFFSET,blackboxTableCnt);
     69#endif
    6670  if (bb->blackbox_destroy==NULL) bb->blackbox_destroy=blackbox_default_destroy;
    6771  if (bb->blackbox_String==NULL)  bb->blackbox_String=blackbox_default_String;
     
    9397    if(strcmp(n,blackboxName[i])==0)
    9498    {
     99#ifdef BLACKBOX_DEVEL
    95100      Print("found bb:%s:%d (table:%d)\n",n,i+BLACKBOX_OFFSET,i);
     101#endif
    96102      tok=i+BLACKBOX_OFFSET;
    97103      return ROOT_DECL;
Note: See TracChangeset for help on using the changeset viewer.