Method: Rod::Property::PluralAssociation#to_c_struct

Defined in:
lib/rod/property/plural_association.rb

#to_c_structObject

Converts the association to fields in a C struct.



45
46
47
48
# File 'lib/rod/property/plural_association.rb', line 45

def to_c_struct
  "  #{c_type(:ulong)} #{@name}_offset;\n" +
    "  #{c_type(:ulong)} #{@name}_count;\n"
end