Changeset bd8204 in git


Ignore:
Timestamp:
Dec 11, 2012, 3:25:57 PM (10 years ago)
Author:
Alexander Dreyer <adreyer@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
dcf88ff0bb046d73a7bde65e033fc58cbb5f4a97
Parents:
e87d402bae109180bda725e0a4c4109f00d3b01b
git-author:
Alexander Dreyer <adreyer@gmx.de>2012-12-11 15:25:57+01:00
git-committer:
Alexander Dreyer <adreyer@gmx.de>2012-12-11 15:50:01+01:00
Message:
Using blackbox-functionality to check whther type was already loaded
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/countedref.cc

    re87d40 rbd8204  
    696696void countedref_reference_load()
    697697{
     698  int tok;
     699  if (blackboxIsCmd("reference", tok) == ROOT_DECL)
     700    return;
     701
    698702  blackbox *bbx = (blackbox*)omAlloc0(sizeof(blackbox));
    699703  bbx->blackbox_CheckAssign = countedref_CheckAssign;
     
    716720void countedref_shared_load()
    717721{
     722  int tok;
     723  if (blackboxIsCmd("shared", tok) == ROOT_DECL)
     724    return;
     725
    718726  blackbox *bbxshared = (blackbox*)omAlloc0(sizeof(blackbox));
    719727  bbxshared->blackbox_String  = countedref_String;
Note: See TracChangeset for help on using the changeset viewer.