Sha256: f7e4985e81861f95227bfc368fc09bb7934d9cbc917cf363e1a41dd1e4d3905b

Contents?: true

Size: 230 Bytes

Versions: 32

Compression:

Stored size: 230 Bytes

Contents

#include "common.h"

VALUE attr_name_for_serialization(Attribute attribute) {
  volatile VALUE name_str = attribute->name_str;
  if (attribute->alias_name != Qnil) {
    name_str = attribute->alias_name;
  }

  return name_str;
}

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
panko_serializer-0.8.2 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.8.1 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.8.0 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.9 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.7 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.6 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.5 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.4 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.3 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.2 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.1 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.7.0 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.6.0 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.10 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.9 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.8 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.7 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.6 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.5 ext/panko_serializer/attributes_writer/common.c
panko_serializer-0.5.4 ext/panko_serializer/attributes_writer/common.c