Event macros. More...

Macros

#define GOS_EVENT_FLAGS1(x)   (GOS_EVENT_FLAG_ ## x)
 
#define GOS_EVENT_FLAGS2(x, y)   (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y)
 
#define GOS_EVENT_FLAGS3(x, y, z)   (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y | GOS_EVENT_FLAG_ ## z)
 
#define GOS_EVENT_FLAGS4(w, x, y, z)   (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y | GOS_EVENT_FLAG_ ## z | GOS_EVENT_FLAG_ ## w)
 

Detailed Description

Event macros.

Macro Definition Documentation

◆ GOS_EVENT_FLAGS1

◆ GOS_EVENT_FLAGS2

#define GOS_EVENT_FLAGS2 (   x,
 
)    (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y)

Helper macro to combine 2 flags

◆ GOS_EVENT_FLAGS3

#define GOS_EVENT_FLAGS3 (   x,
  y,
 
)    (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y | GOS_EVENT_FLAG_ ## z)

Helper macro to combine 3 flags

◆ GOS_EVENT_FLAGS4

#define GOS_EVENT_FLAGS4 (   w,
  x,
  y,
 
)    (GOS_EVENT_FLAG_ ## x | GOS_EVENT_FLAG_ ## y | GOS_EVENT_FLAG_ ## z | GOS_EVENT_FLAG_ ## w)

Helper macro to combine 4 flags