Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
enum_string.h File Reference
#include <string_view>
+ Include dependency graph for enum_string.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EnumString
 

Functions

bool string_to_enum (const EnumString *spec, int &result, std::string_view str)
 
const char * enum_to_string (const EnumString *spec, int num)
 

Function Documentation

◆ enum_to_string()

const char * enum_to_string ( const EnumString * spec,
int num )

References p().

Referenced by push_content_features(), push_hud_element(), push_item_definition_full(), push_wear_bar_params(), and WearBarParams::serializeJson().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_to_enum()