[Vala] Help with metadata file



Hi,

I'm trying to generate a working Vapi for WebKitGtk-3, but I've run into a
problem: cast macros.  GCC is choking because it cannot find
"WEBKIT_DOMHTML_ELEMENT" which is expected -- the actual name is
"WEBKIT_DOM_HTML_ELEMENT" (note the underscore.)

This appears to be due to the lack of CamelCase on the class name.  I was
able to get the type check macro to work with the following:

WebKitDOMHTMLElement type_check_function="WEBKIT_DOM_IS_HTML_ELEMENT"

But I'm not having any luck with the cast function.  Is there a way to
specify this manually?

Thanks!

 - Eric


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