Sha256: e4abf893c8eefca1a2cf473a8226b9d484467ef49dbf0b7fa20f59e03a725d5a
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
#include <ruby.h> #ifndef __ATTRIBUTE_H__ #define __ATTRIBUTE_H__ #include "../common.h" typedef struct _Attribute { VALUE name_str; ID name_id; VALUE alias_name; /* * We will cache the activerecord type * by the record_class */ VALUE type; VALUE record_class; }* Attribute; Attribute attribute_read(VALUE attribute); void attribute_try_invalidate(Attribute attribute, VALUE new_record_class); void panko_init_attribute(VALUE mPanko); #define PANKO_ATTRIBUTE_READ(attribute) (Attribute) DATA_PTR(attribute) #endif
Version data entries
4 entries across 4 versions & 1 rubygems