[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: [pcb] multiple hids in one .so




> 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++ :).


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev