Changeset 8c982c3 in git


Ignore:
Timestamp:
Nov 6, 2013, 10:04:25 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
Children:
659a7af613781bb070ab2564b6aff1c52a070df475761633171290fa9ee90c7fc19a9d9bfba35349
Parents:
aa6c9ccd693cfeffcce6e81a9ccbf75f71dd0599
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-06 10:04:25+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-06 10:05:04+01:00
Message:
fix: cannot use class in C files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    raa6c9cc r8c982c3  
    4848//omBin ip_package_bin = omGetSpecBin(sizeof(ip_package));
    4949omBin idrec_bin = omGetSpecBin(sizeof(idrec));
     50omBin char_ptr_bin =  omGetSpecBin(sizeof(char*));
    5051
    5152coeffs coeffs_BIGINT;
  • kernel/structs.h

    raa6c9cc r8c982c3  
    109109#endif
    110110
    111 class CGlobals
    112 {
    113  public:
    114  static inline const omBin& getCharPtrBin()
    115  {
    116   static omBin _char_ptr_bin = omGetSpecBin(sizeof(char*));
    117   return _char_ptr_bin;
    118  }
    119 };
    120 
    121 #define char_ptr_bin (CGlobals::getCharPtrBin())
    122 
     111extern omBin char_ptr_bin;
    123112
    124113#endif
Note: See TracChangeset for help on using the changeset viewer.