Re: Gtk2->show_about_dialog() bug




On Nov 23, 2006, at 10:32 PM, A. Pagaltzis wrote:

libffi doesn’t seem to have more documentation that the README:
http://gcc.gnu.org/viewcvs/trunk/libffi/README?view=markup
And the README explicitly states that it doesn’t support vararg
functions yet.

We need to support more compilers than just GCC (e.g., MSVC on win32), so neither builtin_apply() nor libffi are really good options.

Maybe someone can talk to the gtk+ folks about this? They should
consider the “bindability” of things they put in the library,
after all… the varargs function is just for C hacker convenience
after all; it should be a wrapper that calls a function that uses
a plain ol’ data structure, so that C hackers can use what’s
convenient while infrastructure people can bind what’s bindable.

I believe that in conversations on this topic long ago, the gtk+ developers considered convenience functions not worthy of the infrastructure treatment, because they could, indeed, be trivially reimplemented in bindings. The danger there is that the code will become less trivial over time.

But, again, this was a long time ago, and the situation may be different now.

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