Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
enum_string.cpp File Reference
#include "util/enum_string.h"
#include <cassert>
+ Include dependency graph for enum_string.cpp:

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()