1WAFFLE_ENUM(3) Waffle Manual WAFFLE_ENUM(3)
2
3
4
6 waffle_enum, waffle_enum_to_string - Utilities for waffle enums
7
9 #include <waffle.h>
10
11 enum waffle_enum {...};
12
13
14 const char* waffle_enum_to_string(int32_t e);
15
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
27 Please report bugs or and feature requests to
28 https://gitlab.freedesktop.org/mesa/waffle/issues.
29
31 waffle(7)
32
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 02/02/2023 WAFFLE_ENUM(3)