diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-05-09 09:41:50 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-05-09 09:41:50 +0200 |
| commit | 20c50312fcd807fdee6c907a9a8af250f79d02b0 (patch) | |
| tree | ee40c1cbe658097c7a33c9a8323b60907d03b520 /FL | |
| parent | c02fba6bb9af3254bc617eb090bce7820f58614a (diff) | |
Cleaner declaration of public function fl_wl_cairo().
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/wayland.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/wayland.H b/FL/wayland.H index 9918e1f7b..bd5f8a812 100644 --- a/FL/wayland.H +++ b/FL/wayland.H @@ -26,7 +26,8 @@ struct flCairoRegion { }; // a region is the union of a series of rectangles #include <stdint.h> +typedef struct _cairo cairo_t; FL_EXPORT struct wl_display *fl_wl_display(); FL_EXPORT struct wl_surface *fl_wl_surface(Window xid); -FL_EXPORT struct _cairo *fl_wl_cairo(); +FL_EXPORT cairo_t *fl_wl_cairo(); |
