diff --git a/lua/rsvg.pkg b/lua/rsvg.pkg index 058eff1f..faddefa4 100644 --- a/lua/rsvg.pkg +++ b/lua/rsvg.pkg @@ -44,6 +44,7 @@ $#include $#include +$#include $#include "librsvg-helper.h" typedef struct _RsvgHandle RsvgHandle; @@ -87,8 +88,10 @@ typedef struct _RsvgRectangle { const char *rsvg_handle_get_base_uri (RsvgHandle * handle); void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri); +#if LIBRSVG_MAJOR_VERSION >= 2 && LIBRSVG_MINOR_VERSION >= 52 gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle, gdouble *out_width, +#endif /* LIBRSVG_MAJOR_VERSION >= 2 && LIBRSVG_MINOR_VERSION >= 52 */ gdouble *out_height); gboolean rsvg_handle_get_geometry_for_layer(RsvgHandle *handle,