class CAField

Public Instance Methods

initialize_copy(p1) click to toggle source
static VALUE
rb_ca_field_initialize_copy (VALUE self, VALUE other)
{
  CAField *ca, *cs;

  Data_Get_Struct(self,  CAField, ca);
  Data_Get_Struct(other, CAField, cs);

  ca_field_setup(ca, cs->parent, cs->offset, cs->data_type, cs->bytes);

  return self;
}