struct te_enum_map

Overview

A mapping between names and integral values. More…

#include <te_enum.h>

struct te_enum_map {
    // fields

    const char* name;
    int value;
};

Detailed Documentation

A mapping between names and integral values.

An array of mappings should end with TE_ENUM_MAP_END

Fields

const char* name

Element name

int value

Corresponding value