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_shm_pool(3)

Field Documentation

char*wl_shm_pool::dataintwl_shm_pool::external_refcountintwl_shm_pool::internal_refcountintwl_shm_pool::mmap_fdintwl_shm_pool::mmap_flagsintwl_shm_pool::mmap_protssize_twl_shm_pool::new_sizestructwl_resource*wl_shm_pool::resourceboolwl_shm_pool::sigbus_is_impossiblessize_twl_shm_pool::size

Member Function Documentation

voidwl_shm_pool_unref(structwl_shm_pool*pool)
       Unreference a shm_poolParameterspool The pool object

       Drops a reference to a wl_shm_pool object.

       This is only necessary if the compositor has explicitly taken a reference with wl_shm_buffer_ref_pool(),
       otherwise the pool will be automatically destroyed when appropriate.

       Seealsowl_shm_buffer_ref_pool

Name

       wl_shm_pool

Synopsis

PublicMemberFunctions
       void wl_shm_pool_unref (struct wl_shm_pool *pool)

   DataFields
       struct wl_resource * resource
       int internal_refcount
       int external_refcount
       char * data
       ssize_t size
       ssize_t new_size
       int mmap_fd
       int mmap_flags
       int mmap_prot
       bool sigbus_is_impossible

See Also