Sponsor:

Your company here, and a link to your site. Click to find out more.

waffle_enum - Man Page

Utilities for waffle enums

Synopsis

#include <waffle.h>

enum waffle_enum {...};

const char* waffle_enum_to_string(int32_t e);

Description

waffle_enum_to_string()

Convert an waffle_enum token to a string. For example, convert WAFFLE_DONT_CARE to "WAFFLE_DONT_CARE". Return null if the token is not a valid waffle_enum.

This function always sets the error code to WAFFLE_NO_ERROR. It can be called before waffle has been successfully initialized with waffle_init(3)

Issues

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

See Also

waffle(7)

Author

Chad Versace <chad.versace@linux.intel.com>

Maintainer

Referenced By

waffle(7).

The man page waffle_enum_to_string(3) is an alias of waffle_enum(3).

01/27/2024 Waffle Manual