Skip to content

Commit 9889360

Browse files
committed
API: document that group alloc/insert must use the same topology
Signed-off-by: Brice Goglin <[email protected]>
1 parent 84aa3d6 commit 9889360

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/hwloc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2840,6 +2840,9 @@ HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_alloc_group_object(hwloc_topology_t to
28402840
*
28412841
* \note If the insertion fails, the input group object is freed.
28422842
*
2843+
* \note \p topology must be the same as the one previously passed
2844+
* to hwloc_topology_alloc_group_object().
2845+
*
28432846
* \return The inserted object if it was properly inserted.
28442847
*
28452848
* \return An existing object if the Group was merged or discarded

0 commit comments

Comments
 (0)