@@ 30,7 30,8 @@ extern "C" {
static inline void
_lv2_canvas_render_beginPath(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_new_sub_path(ctx);
@@ 38,7 39,8 @@ _lv2_canvas_render_beginPath(void *data,
static inline void
_lv2_canvas_render_closePath(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_close_path(ctx);
@@ 235,7 237,8 @@ _lv2_canvas_render_miterLimit(void *data,
static inline void
_lv2_canvas_render_stroke(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_stroke(ctx);
@@ 243,7 246,8 @@ _lv2_canvas_render_stroke(void *data,
static inline void
_lv2_canvas_render_fill(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_fill(ctx);
@@ 251,7 255,8 @@ _lv2_canvas_render_fill(void *data,
static inline void
_lv2_canvas_render_clip(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_clip(ctx);
@@ 259,7 264,8 @@ _lv2_canvas_render_clip(void *data,
static inline void
_lv2_canvas_render_save(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_save(ctx);
@@ 267,7 273,8 @@ _lv2_canvas_render_save(void *data,
static inline void
_lv2_canvas_render_restore(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_restore(ctx);
@@ 336,7 343,8 @@ _lv2_canvas_render_transform(void *data,
static inline void
_lv2_canvas_render_reset(void *data,
- LV2_Canvas_URID *urid, const LV2_Atom *body)
+ LV2_Canvas_URID *urid __attribute__((unused)),
+ const LV2_Atom *body __attribute__((unused)))
{
cairo_t *ctx = data;
cairo_identity_matrix(ctx);