return -ENOMEM;
p ->lid = el->id;
+ p ->c_lid = el->id;
el->flags |= p->flags;
goto next;
}
return -ENOMEM;
p ->lid = el->id;
+ p ->c_lid = el->id;
el->flags |= p->flags;
next:
p = NULL;
}
}
-#if 1
- for (i = 0; i < f->n_elines; i++) {
- el = f->elines[i];
+ for (i = 0; i < f->n_elines; i++) {
+ el = f->elines[i];
+
+ el->c_pins = el->n_pins;
+#if 1
scf_logw("line i: %ld, %p, el->flags: %#lx\n", i, el, el->flags);
for (j = 0; j + 1 < el->n_pins; j += 2)
scf_logi("pin j: %ld, cid: %ld, pid: %ld\n", j, el->pins[j], el->pins[j + 1]);
printf("\n");
- }
#endif
+ }
+
return 0;
}