gobj_short_name()

gobj_short_name()#

Returns the short name of the given hgobj, formatted as gclass^name.

Prototype

const char *gobj_short_name(hgobj gobj_);

Parameters

Key

Type

Description

gobj_

hgobj

The object whose short name is to be retrieved.


Return Value

A pointer to a string containing the short name of the object. If the object is NULL or destroyed, returns ???.

Notes

The short name is generated dynamically and cached for future calls.

Prototype

// Not applicable in JS

Prototype

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