yev_set_flag()

yev_set_flag()#

Sets or clears a specific flag on the given yev_event_h event.

Prototype

void yev_set_flag(
    yev_event_h  yev_event,
    yev_flag_t   flag,
    BOOL         set
);

Parameters

Key

Type

Description

yev_event

yev_event_h

The event handle on which the flag will be modified.

flag

yev_flag_t

The flag to be set or cleared.

set

BOOL

If TRUE, the flag is set; if FALSE, the flag is cleared.


Return Value

This function does not return a value.

Notes

Use yev_get_flag() to check the current state of a flag.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples