gEDA-dev: [pcb] multiple hids in one .so
DJ Delorie
dj at delorie.com
Thu Oct 5 09:28:55 EDT 2006
> You said the modification I suggested was overkill. Did you mean it
> would be too much work, or passing +1 pointer to those functions
> would slow the program too much or would add too much bloat?
The latter. None of the existing exporters or GUIs need it, but all
would be penalized for it.
> If adding the hid pointer to those calls is really that bad, why not
> adding a new global variable called "current_exporter" which would
> be set in the gui hids, before the first call to the exporter? It
> would be less than 16 new lines in the code, I think :)
I think this is a reasonable solution for now (until we switch to C++ :).
More information about the geda-dev
mailing list