WAFFLE_ATTRIB_LIST(3) | Waffle Manual | WAFFLE_ATTRIB_LIST(3) |
NAME¶
waffle_attrib_list, waffle_attrib_list_length, waffle_attrib_list_get, waffle_attrib_list_get_with_default, waffle_attrib_list_update - Utilities for attribute lists
SYNOPSIS¶
#include <waffle.h>
DEPRECATED bool waffle_attrib_list_length(const int32_t attrib_list[]);
DEPRECATED bool waffle_attrib_list_get(const int32_t attrib_list[], int32_t key, int32_t *value);
DEPRECATED bool waffle_attrib_list_get_with_default(const int32_t attrib_list[], int32_t key, int32_t *value, int32_t default_value);
DEPRECATED bool waffle_attrib_list_update(int32_t attrib_list[], int32_t key, int32_t *value);
Deprecation¶
All functions above are deprecated in Waffle 1.6 and later.
DESCRIPTION¶
An attribute list is a zero-terminated list of int32_t key/value pairs or a null pointer. A null pointer is interpreted as an empty list, whose only member is the terminal zero. For concrete examples of attribute lists, see the "Examples" section in waffle_config(3).
All attribute list functions can be called before waffle has been successfully initialized with waffle_init(3).
waffle_attrib_list_length()
waffle_attrib_list_get()
waffle_attrib_list_get_with_default()
waffle_attrib_list_update()
ERRORS¶
All attribute list functions set the error code to WAFFLE_NO_ERROR and can be called before waffle has been successfully initialized with waffle_init(3).
See waffle_error(3) for the complete list of waffle's error codes.
ISSUES¶
Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.
SEE ALSO¶
AUTHOR¶
Chad Versace <chad.versace@linux.intel.com>
COPYRIGHT¶
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 |