1WAFFLE_ENUM(3)                   Waffle Manual                  WAFFLE_ENUM(3)
2
3
4

NAME

6       waffle_enum, waffle_enum_to_string
7

SYNOPSIS

9       #include <waffle.h>
10
11       enum waffle_enum {...};
12
13
14       const char* waffle_enum_to_string(int32_t e);
15

DESCRIPTION

17       waffle_enum_to_string()
18           Convert an waffle_enum token to a string. For example, convert
19           WAFFLE_DONT_CARE to "WAFFLE_DONT_CARE". Return null if the token is
20           not a valid waffle_enum.
21
22           This function always sets the error code to WAFFLE_NO_ERROR. It can
23           be called before waffle has been successfully initialized with
24           waffle_init(3)
25

ISSUES

27       Please report bugs or and feature requests to
28       https://gitlab.freedesktop.org/mesa/waffle/issues.
29

SEE ALSO

31       waffle(7)
32

AUTHOR

34       Chad Versace <chad.versace@linux.intel.com>
35           Maintainer
36
38       Copyright © 2013 Intel
39
40       This manual page is licensed under the Creative Commons
41       Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To
42       view a copy of this license, visit
43       http://creativecommons.org.license/by-sa/3.0/us.
44
45
46
47
48waffle                            04/01/2020                    WAFFLE_ENUM(3)
Impressum