mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-04 12:00:14 +01:00
libeis: use get/set user_data, not userdata
For consistency with libei. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3b5316a7b7
commit
5b1d74cf19
3 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ struct eis_backend_interface {
|
|||
|
||||
struct eis {
|
||||
struct object object;
|
||||
void *userdata;
|
||||
void *user_data;
|
||||
struct logger *logger;
|
||||
struct sink *sink;
|
||||
struct list clients;
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ _public_
|
|||
OBJECT_IMPLEMENT_UNREF(eis);
|
||||
#define _cleanup_eis_ _cleanup_(eis_cleanup)
|
||||
_public_
|
||||
OBJECT_IMPLEMENT_SETTER(eis, userdata, void *);
|
||||
OBJECT_IMPLEMENT_GETTER(eis, userdata, void *);
|
||||
OBJECT_IMPLEMENT_SETTER(eis, user_data, void *);
|
||||
OBJECT_IMPLEMENT_GETTER(eis, user_data, void *);
|
||||
|
||||
_public_ struct eis *
|
||||
eis_new(void *user_data)
|
||||
|
|
|
|||
|
|
@ -109,10 +109,10 @@ struct eis *
|
|||
eis_unref(struct eis *eis);
|
||||
|
||||
void *
|
||||
eis_get_userdata(struct eis *eis);
|
||||
eis_get_user_data(struct eis *eis);
|
||||
|
||||
void
|
||||
eis_set_userdata(struct eis *eis, void *userdata);
|
||||
eis_set_user_data(struct eis *eis, void *user_data);
|
||||
|
||||
/**
|
||||
* Initialize the context with a UNIX socket name.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue