Commit 8135a4e5 authored by Moritz Lipp's avatar Moritz Lipp

Check for cairo

parent bb536aac
Pipeline #240 passed with stages
in 1 minute and 23 seconds
......@@ -11,7 +11,9 @@ extern "C" {
#include "../page.h"
#include "../types.h"
#ifdef HAVE_CAIRO
typedef zathura_error_t (*zathura_image_get_cairo_surface_t)(zathura_image_t* image, cairo_surface_t** surface);
#endif
typedef zathura_error_t (*zathura_image_get_buffer_t)(zathura_image_t* image, zathura_image_buffer_t** buffer);
zathura_error_t zathura_image_new(zathura_image_t** image, zathura_rectangle_t position);
......@@ -20,7 +22,9 @@ zathura_error_t zathura_image_set_user_data(zathura_image_t* image, void* user_d
zathura_error_t zathura_image_get_user_data(zathura_image_t* image, void** user_data);
#ifdef HAVE_CAIRO
zathura_error_t zathura_image_set_get_cairo_surface_function(zathura_image_t* image, zathura_image_get_cairo_surface_t function);
#endif
zathura_error_t zathura_image_set_get_buffer_function(zathura_image_t* image, zathura_image_get_buffer_t function);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment