Lines Matching refs:obj1
53 DynObjectP obj1;
55 obj1 = (DynObjectP) malloc(sizeof(DynObjectRecP));
56 if (obj1 == NULL)
59 obj1->el_size = obj->el_size;
60 obj1->num_el = obj->num_el;
61 obj1->size = obj->size;
62 obj1->inc = obj->inc;
63 obj1->debug = obj->debug;
64 obj1->paranoid = obj->paranoid;
65 obj1->initzero = obj->initzero;
66 obj1->array = (char *) malloc(obj1->el_size * obj1->size);
67 if (obj1->array == NULL) {
68 free(obj1);
71 memcpy(obj->array, obj1->array,
72 (size_t) (obj1->el_size * obj1->size));
74 return obj1;