[Vala] vapigen problem with librest



Hi,

I'm trying to use vapigen to build Vala bindings of librest from the
gobject-introspection data.  However, I get an error:

$ vapigen rest/Rest-0.6.gir  --library=Rest --pkg=gio-unix-2.0
Rest-0.6.gir:1144.7-1144.14: error: Recursive value types are not allowed
Generation failed: 1 error(s), 0 warning(s)

Line 1144 is in the middle of an <enumeration>:

    <enumeration name="ProxyError"
                 c:type="RestProxyError"
                 glib:error-quark="rest_proxy_error_quark">
      <member name="cancelled"
              value="1"
              c:identifier="REST_PROXY_ERROR_CANCELLED"/>
... the next line is 1144 ...
      <member name="http_use_proxy"
              value="305"
              c:identifier="REST_PROXY_ERROR_HTTP_USE_PROXY"/>
....
    </enumeration>

(the full .gir is attached)

I can't see a recursive type there, but maybe I'm being blind -- it's
been a long day.  Any ideas?

(please CC, I'm not on the list)

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                           www: http://burtonini.com

Attachment: Rest-0.6.gir
Description: application/xml

Attachment: signature.asc
Description: This is a digitally signed message part



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