wayland-cursor-so_wrap.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef DYLIBLOAD_WRAPPER_WAYLAND_CURSOR
  2. #define DYLIBLOAD_WRAPPER_WAYLAND_CURSOR
  3. // This file is generated. Do not edit!
  4. // see https://github.com/hpvb/dynload-wrapper for details
  5. // generated by ../dynload-wrapper/generate-wrapper.py 0.3 on 2023-01-25 17:46:12
  6. // flags: ../dynload-wrapper/generate-wrapper.py --include ./thirdparty/linuxbsd_headers/wayland/wayland-cursor.h --sys-include "./thirdparty/linuxbsd_headers/wayland/wayland-cursor.h" --soname libwayland-cursor.so.0 --init-name wayland_cursor --output-header platform/linuxbsd/wayland/dynwrappers/wayland-cursor-so_wrap.h --output-implementation platform/linuxbsd/wayland/dynwrappers/wayland-cursor-so_wrap.c
  7. //
  8. #include <stdint.h>
  9. #define wl_cursor_theme_load wl_cursor_theme_load_dylibloader_orig_wayland_cursor
  10. #define wl_cursor_theme_destroy wl_cursor_theme_destroy_dylibloader_orig_wayland_cursor
  11. #define wl_cursor_theme_get_cursor wl_cursor_theme_get_cursor_dylibloader_orig_wayland_cursor
  12. #define wl_cursor_image_get_buffer wl_cursor_image_get_buffer_dylibloader_orig_wayland_cursor
  13. #define wl_cursor_frame wl_cursor_frame_dylibloader_orig_wayland_cursor
  14. #define wl_cursor_frame_and_duration wl_cursor_frame_and_duration_dylibloader_orig_wayland_cursor
  15. #include "./thirdparty/linuxbsd_headers/wayland/wayland-cursor.h"
  16. #undef wl_cursor_theme_load
  17. #undef wl_cursor_theme_destroy
  18. #undef wl_cursor_theme_get_cursor
  19. #undef wl_cursor_image_get_buffer
  20. #undef wl_cursor_frame
  21. #undef wl_cursor_frame_and_duration
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. #define wl_cursor_theme_load wl_cursor_theme_load_dylibloader_wrapper_wayland_cursor
  26. #define wl_cursor_theme_destroy wl_cursor_theme_destroy_dylibloader_wrapper_wayland_cursor
  27. #define wl_cursor_theme_get_cursor wl_cursor_theme_get_cursor_dylibloader_wrapper_wayland_cursor
  28. #define wl_cursor_image_get_buffer wl_cursor_image_get_buffer_dylibloader_wrapper_wayland_cursor
  29. #define wl_cursor_frame wl_cursor_frame_dylibloader_wrapper_wayland_cursor
  30. #define wl_cursor_frame_and_duration wl_cursor_frame_and_duration_dylibloader_wrapper_wayland_cursor
  31. extern struct wl_cursor_theme* (*wl_cursor_theme_load_dylibloader_wrapper_wayland_cursor)(const char*, int,struct wl_shm*);
  32. extern void (*wl_cursor_theme_destroy_dylibloader_wrapper_wayland_cursor)(struct wl_cursor_theme*);
  33. extern struct wl_cursor* (*wl_cursor_theme_get_cursor_dylibloader_wrapper_wayland_cursor)(struct wl_cursor_theme*,const char*);
  34. extern struct wl_buffer* (*wl_cursor_image_get_buffer_dylibloader_wrapper_wayland_cursor)(struct wl_cursor_image*);
  35. extern int (*wl_cursor_frame_dylibloader_wrapper_wayland_cursor)(struct wl_cursor*, uint32_t);
  36. extern int (*wl_cursor_frame_and_duration_dylibloader_wrapper_wayland_cursor)(struct wl_cursor*, uint32_t, uint32_t*);
  37. int initialize_wayland_cursor(int verbose);
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif