WYRDTEK Home Features Reference Downloads About


Reference/es_sd_getstr

Syntax

const char *es_sd_getstr( struct es_sd *dict, unsigned idx );

Arguments

struct es_sd *dict String dictionary.
unsigned idx string-id corresponding to string in dictionary.

Description

Retrieve null-terminated string from string dictionary by string-id.

Returns empty string if either the string-id is invalid or if the string dictionary was constructed without a flag set to store an id to string mapping, see es_sd_new().

[Back To Reference] [Back To Reference/es_sd]