class CAMapping

Public Instance Methods

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

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

  /* share mapper info */
  ca_mapping_setup(ca, cs->parent, cs->mapper, 1);

  return self;
}