Re: Help requested with P99-based macro to create Wayland listeners

Liste des GroupesRevenir à l c 
Sujet : Re: Help requested with P99-based macro to create Wayland listeners
De : bluemanedhawk (at) *nospam* invalid.invalid (Blue-Maned_Hawk)
Groupes : comp.lang.c
Date : 09. Apr 2024, 22:20:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <pan$57aa8$bcee1756$62f53bf3$9223a50a@invalid.invalid>
References : 1 2 3 4
User-Agent : Pan/0.154 (Izium; 517acf4)
David Brown wrote:

On 09/04/2024 20:17, Blue-Maned_Hawk wrote:
Tim Rentsch wrote:
 
What is it that you want to accomplish?
 
As i stated in the subject line, i am trying to create a macro to
create Wayland listeners.
 
 
Assume, for the sake of argument, that no one knows or cares anything
about Wayland or listeners.

<https://xkcd.com/1432/>

You are trying to use a set macros to expand to some code.  Start by
showing what code you want to get from examples of using your macros -
then people can try to help get the macros right.

MAKE_LISTENER(wl_registry, global, global_remove);



static const struct wl_registry_listener wl_registry_listener = { .global
= callback_wl_registry_global, .global_remove =
callback_wl_registry_global_remove };



MAKE_LISTENER(xdg_wm_base, configure, close, configure_bounds,
wm_capabilities);



static const struct xdg_wm_base_listener xdg_wm_base_listener =
{ .configure = callback_xdg_wm_base_configure, .close =
callback_xdg_wm_base_close, .configure_bounds =
callback_xdg_wm_base_configure_bounds, .wm_capabilities =
callback_xdg_wm_base_wm_capabilities };



--
Blue-Maned_Hawk│shortens to Hawk│/blu.mɛin.dʰak/│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
Eating carpets strictly prohibited!

Date Sujet#  Auteur
9 Apr 24 * Help requested with P99-based macro to create Wayland listeners22Blue-Maned_Hawk
9 Apr 24 +* Re: Help requested with P99-based macro to create Wayland listeners16Tim Rentsch
9 Apr 24 i`* Re: Help requested with P99-based macro to create Wayland listeners15Blue-Maned_Hawk
9 Apr 24 i `* Re: Help requested with P99-based macro to create Wayland listeners14David Brown
9 Apr 24 i  `* Re: Help requested with P99-based macro to create Wayland listeners13Blue-Maned_Hawk
10 Apr 24 i   +* Re: Help requested with P99-based macro to create Wayland listeners11David Brown
10 Apr 24 i   i+* Re: Help requested with P99-based macro to create Wayland listeners3Ben Bacarisse
10 Apr 24 i   ii`* Re: Help requested with P99-based macro to create Wayland listeners2Tim Rentsch
10 Apr 24 i   ii `- Re: Help requested with P99-based macro to create Wayland listeners1David Brown
10 Apr 24 i   i`* Re: Help requested with P99-based macro to create Wayland listeners7David Brown
10 Apr 24 i   i `* Re: Help requested with P99-based macro to create Wayland listeners6Chris M. Thomasson
10 Apr 24 i   i  `* Re: Help requested with P99-based macro to create Wayland listeners5David Brown
10 Apr 24 i   i   +* Re: Help requested with P99-based macro to create Wayland listeners2bart
10 Apr 24 i   i   i`- Re: Help requested with P99-based macro to create Wayland listeners1Chris M. Thomasson
10 Apr 24 i   i   `* Re: Help requested with P99-based macro to create Wayland listeners2Chris M. Thomasson
10 Apr 24 i   i    `- Re: Help requested with P99-based macro to create Wayland listeners1Chris M. Thomasson
10 Apr 24 i   `- Re: Help requested with P99-based macro to create Wayland listeners1Tim Rentsch
10 Apr 24 +* Re: Help requested with P99-based macro to create Wayland listeners4James Kuyper
10 Apr 24 i+- Re: Help requested with P99-based macro to create Wayland listeners1Blue-Maned_Hawk
10 Apr 24 i+- Re: Help requested with P99-based macro to create Wayland listeners1Tim Rentsch
11 Apr 24 i`- Re: Help requested with P99-based macro to create Wayland listeners1Lawrence D'Oliveiro
11 Apr 24 `- Re: Help requested with P99-based macro to create Wayland listeners1Tim Rentsch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal