get_sdata_flag_desc()

get_sdata_flag_desc()#

Returns a dynamically allocated gbuffer_t containing a string representation of the sdata_flag_t bitmask.

Prototype

gbuffer_t *get_sdata_flag_desc(sdata_flag_t flag);

Parameters

Key

Type

Description

flag

sdata_flag_t

Bitmask representing the flags of structured data attributes.


Return Value

A pointer to a gbuffer_t containing a string representation of the flags. The caller is responsible for freeing the returned buffer.

Notes

If no flags are set, the returned buffer will be empty.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples