Sha256: 89273c1768cdf0de4dbb08fc30e45ce3c6b952eadc183c3774c0dd70b9fb1a40
Contents?: true
Size: 703 Bytes
Versions: 3
Compression:
Stored size: 703 Bytes
Contents
#include <ruby.h> #ifndef __SD_H__ #define __SD_H__ typedef struct _SerializationDescriptor { // type of the serializer, so we can create it later VALUE serializer_type; // Cached value of the serializer VALUE serializer; // Metadata VALUE attributes; VALUE aliases; VALUE method_fields; VALUE has_one_associations; VALUE has_many_associations; } * SerializationDescriptor; SerializationDescriptor sd_read(VALUE descriptor); void sd_mark(SerializationDescriptor data); VALUE sd_build_serializer(SerializationDescriptor descriptor); void sd_apply_serializer_config(VALUE serializer, VALUE object, VALUE context); void panko_init_serialization_descriptor(VALUE mPanko); #endif
Version data entries
3 entries across 3 versions & 1 rubygems