table of contents
- unstable 7.0.0~rc1-1
| PMIX_GEOMETRY_DESTRUCT(3) | OpenPMIx | PMIX_GEOMETRY_DESTRUCT(3) |
PMIx_Geometry_destruct — Release the contents of a pmix_geometry_t(5) <#man5-pmix-geometry-t> structure.
SYNOPSIS¶
#include <pmix.h> void PMIx_Geometry_destruct(pmix_geometry_t *g);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- g: Pointer to the pmix_geometry_t(5) <#man5-pmix-geometry-t> structure whose contents are to be released.
DESCRIPTION¶
Release the dynamically allocated payload held within a pmix_geometry_t <#man5-pmix-geometry-t> structure. The function frees the uuid and osname strings (setting each pointer to NULL) and releases the coordinates array via the coordinate-free path.
PMIx_Geometry_destruct releases only the contents of the structure; it does not free the storage of the pmix_geometry_t structure itself. When the structure was allocated on the stack or embedded in another object, that storage is reclaimed by its owner.
RETURN VALUE¶
PMIx_Geometry_destruct returns no value (void).
NOTES¶
PMIx_Geometry_destruct is the counterpart to PMIx_Geometry_construct(3) <#man3-pmix-geometry-construct>. To release an array of structures that was allocated by PMIx_Geometry_create(3) <#man3-pmix-geometry-create>, including the array storage itself, use PMIx_Geometry_free(3) <#man3-pmix-geometry-free> instead.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| September 27, 2026 |