logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

waffle_enum, waffle_enum_to_string - Utilities for waffle enums

Author

ChadVersace <chad.versace@linux.intel.com>
           Former maintainer

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.

Name

       waffle_enum, waffle_enum_to_string - Utilities for waffle enums

See Also

waffle(7)

Synopsis

#include<waffle.h>enumwaffle_enum{...};constchar*waffle_enum_to_string(int32_te);

See Also