Changeset 8c982c3 in git for kernel


Ignore:
Timestamp:
Nov 6, 2013, 10:04:25 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.