gobj_topic_size()#
gobj_topic_size() returns the size of a specified topic in a GObj.
Prototype
size_t gobj_topic_size(
hgobj gobj,
const char *topic_name,
const char *key
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The GObj instance. |
|
|
The name of the topic. |
|
|
The key within the topic to retrieve the size. |
Return Value
Returns the size of the specified topic.
Notes
[‘If gobj is NULL or destroyed, an error is logged and 0 is returned.’, ‘If mt_topic_size is not defined in the GClass, an error is logged and 0 is returned.’]
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples