Invoking "not introspectable" methods



Playing around with Glib-Object-Introspection and vips library. Things got wrong quickly: Vips::Image->new_from_file is not generated. In .gir file it's marked with introspectable="0" attribute: 2442 <constructor name="new_from_file" 2443 c:identifier="vips_image_new_from_file" 2444 introspectable="0"> Simple grep in typelib file shows that it's not there. In .h file it's marked with sentinel attribute: 437 VipsImage *vips_image_new_from_file( const char *name, ... ) 438 __attribute__((sentinel)); New to gobject world. Is something wrong with vips' gir file? with this module? Should I do some additional setup for such functions/methods?

--
Best regards, Ruslan.


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