src/Functions.h
changeset 91 5f4402180204
parent 86 32ad0523b309
child 118 5ef750c0c0dd
     1.1 --- a/src/Functions.h	Wed Jul 25 00:16:52 2012 -0700
     1.2 +++ b/src/Functions.h	Wed Jul 25 00:48:08 2012 -0700
     1.3 @@ -62,13 +62,13 @@
     1.4  
     1.5      // Begin GC Descriptor.
     1.6      static inline size_t offsetOfCode() {
     1.7 -        return offsetof(Function, code_);
     1.8 +        return OFFSETOF(Function, code_);
     1.9      }
    1.10      static inline size_t offsetOfType() {
    1.11 -        return offsetof(Function, type_);
    1.12 +        return OFFSETOF(Function, type_);
    1.13      }
    1.14      static inline size_t offsetOfName() {
    1.15 -        return offsetof(Function, name_);
    1.16 +        return OFFSETOF(Function, name_);
    1.17      }
    1.18      // End GC Descriptor.
    1.19  
    1.20 @@ -104,10 +104,10 @@
    1.21  
    1.22      // Begin GC Descriptor.
    1.23      static inline size_t offsetOfType() {
    1.24 -        return offsetof(Native, type_);
    1.25 +        return OFFSETOF(Native, type_);
    1.26      }
    1.27      static inline size_t offsetOfName() {
    1.28 -        return offsetof(Native, name_);
    1.29 +        return OFFSETOF(Native, name_);
    1.30      }
    1.31      // End GC Descriptor.
    1.32