tranger2_topic_name()
#
Retrieves the topic name from the given json_t *
topic object.
Prototype
const char *tranger2_topic_name(
json_t *topic
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A JSON object representing the topic. |
Return Value
A pointer to a string containing the topic name. The returned string must not be modified or freed by the caller.
Notes
If the topic
parameter is NULL
or invalid, the behavior is undefined.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples