Liste des Groupes | Revenir à cl c |
On 4/8/24 20:36, Blue-Maned_Hawk wrote:
>This macro doesn't work and i don't know why. I've tried multiple>
different things to try to delay the expansion of _0MAKE_LISTENER and none
of them have worked. I don't know if there's a more idiomatic way to do
this. I've tried looking at the output from putting it through ?cpp? and
that didn't work because it errored out before i could see what it
expanded to.
>
#define MAKE_LISTENER(object_type, ...) static const struct\
object_type##_listener object_type##_listener = { P99_SEQ(\
This isn't a C problem, or at least,not entirely a C problem. I'd
thought that the P99 in your subject line might be a typo for C99, but I
have no idea what P99_SEQ is. Wikipedia knows 9 different meanings for
P99. [...]
Les messages affichés proviennent d'usenet.