mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Make implementation function lists static const
This requires a change to the type of `struct wlr_tablet` and `wlr_tablet_init` signature, both of which are part of the unstable API.
This commit is contained in:
parent
b6dea80907
commit
a290d7a78d
15 changed files with 31 additions and 31 deletions
|
|
@ -16,7 +16,7 @@ struct wlr_tablet_impl {
|
|||
};
|
||||
|
||||
void wlr_tablet_init(struct wlr_tablet *tablet,
|
||||
struct wlr_tablet_impl *impl);
|
||||
const struct wlr_tablet_impl *impl);
|
||||
void wlr_tablet_destroy(struct wlr_tablet *tablet);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ struct wlr_tablet_tool {
|
|||
struct wlr_tablet_impl;
|
||||
|
||||
struct wlr_tablet {
|
||||
struct wlr_tablet_impl *impl;
|
||||
const struct wlr_tablet_impl *impl;
|
||||
|
||||
struct {
|
||||
struct wl_signal axis;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue