[Spice-devel] [PATCH spice-gtk 1/2] build-sys: fix compilation of bindings

Marc-André Lureau marcandre.lureau at gmail.com
Tue Mar 20 10:57:55 PDT 2012


On Tue, Mar 20, 2012 at 6:52 PM, Alon Levy <alevy at redhat.com> wrote:
>> This seems to be a bug in symbol lookup in vapigen. Using a struct
>> typedef solves it.
>
> Well, if it works.. Although it sounds a bit magic. File a bug upstream?
> (/me hides)

I discussed the bug with the maintainer, but that doesn't seem very
obvious to fix. Apparently, we should tell vapigen to ignore this
symbol, or just not make it part of the API (hide it). It turned out
that using a struct solved this issue for vapigen, but pygobject was
also choking on the same "incomplete" public type (it's missing a
couple of things to be introspectable etc..) so, as long as the two
generators ignore this symbol we are fine...

-- 
Marc-André Lureau


More information about the Spice-devel mailing list