WAFFLE_FEATURE_TEST_(7) | Waffle Manual | WAFFLE_FEATURE_TEST_(7) |
waffle_feature_test_macros - Macros to control definitions exposed by Waffle's headers
WAFFLE_API_VERSION WAFFLE_API_EXPERIMENTAL
Waffle's feature test macros allow the programmer to control the definitions that are exposed by Waffle's headers when a program is compiled. Conversely, the macros allow the programmer to control which Waffle features a program's source relies on.
In order to be effective, a feature test macro must be defined before including any header files. This can be done either in the compilation command (cc -DMACRO=value) or by defining the macro within the source code before including any headers.
When a function requires that a feature test macro be defined, the manual page docments it in the SYNOPSIS. When an enum or macro requires that a feature test macro be defined, the manual page documents it either in the SYNOPSIS or where the enum or macro first appears in the page.
WAFFLE_API_VERSION (since waffle 1.3)
WAFFLE_API_EXPERIMENTAL
Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.
Chad Versace <chad.versace@linux.intel.com>
Copyright © 2013 Intel
This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
08/18/2021 | waffle |