logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for Wayland from the source code.

Version 1.23.1                              Thu May 22 2025 08:23:52                              wl_resource(3)

Field Documentation

structwl_client*wl_resource::clientvoid*wl_resource::datastructwl_signalwl_resource::deprecated_destroy_signalwl_resource_destroy_func_twl_resource::destroystructwl_priv_signalwl_resource::destroy_signalstructwl_signalwl_resource::destroy_signalwl_dispatcher_func_twl_resource::dispatcherstructwl_listwl_resource::linkstructwl_objectwl_resource::objectintwl_resource::version

Member Function Documentation

structwl_resource*wl_resource_create(structwl_client*client,conststructwl_interface*interface,intversion,uint32_tid)
       Create a new resource object

       Parametersclient The client owner of the new resource.
           interface The interface of the new resource.
           version The version of the new resource.
           id The id of the new resource. If 0, an available id will be used.

       Listeners added with wl_client_add_resource_created_listener will be notified at the end of this
       function.

   constchar*wl_resource_get_class(structwl_resource*resource)
       Retrieve the interface name (class) of a resource object.

       Parametersresource The resource object

Name

       wl_resource

Synopsis

       #include <wayland-server.h>

   PublicMemberFunctions
       const char * wl_resource_get_class (struct wl_resource *resource)
       struct wl_resource * wl_resource_create (struct wl_client *client, const struct wl_interface *interface,
           int version, uint32_t id)

   DataFields
       struct wl_objectobjectwl_resource_destroy_func_tdestroy
       struct wl_listlink
       struct wl_signaldeprecated_destroy_signal
       struct wl_client * client
       void * data
       int versionwl_dispatcher_func_tdispatcher
       struct wl_priv_signal destroy_signal
       struct wl_signaldestroy_signal

See Also