gobj_name()

gobj_name()#

Returns the name of the given hgobj instance as a string.

Prototype

const char *gobj_name(hgobj gobj);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj instance whose name is to be retrieved.


Return Value

A pointer to a string containing the name of the hgobj instance. If gobj is NULL, returns “???”.

Notes

The returned string is managed internally and should not be modified or freed by the caller.

Prototype

// Not applicable in JS

Prototype

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