wlmaker
Loading...
Searching...
No Matches
key_descriptor Struct Reference

Public Attributes

const char * key
size_t len
size_t ofs
size_t priority_ofs
bool(* translate )(const char *value_ptr, void *dest_ptr)
void(* destroy )(void *dest_ptr)

Detailed Description

Descriptor for a key.

Member Data Documentation

◆ destroy

void(* key_descriptor::destroy) (void *dest_ptr)

Dtor.

◆ key

const char* key_descriptor::key

The key's name.

◆ len

size_t key_descriptor::len

Length of the key's name.

◆ ofs

size_t key_descriptor::ofs

Offset of the value field, relative to the userdata.

◆ priority_ofs

size_t key_descriptor::priority_ofs

Offset of the locale priority indicator. Iff priority_ofs != ofs, the field is treated as localized.

◆ translate

bool(* key_descriptor::translate) (const char *value_ptr, void *dest_ptr)

Translator function.


The documentation for this struct was generated from the following file: