Skip to content

Commit 469b39b

Browse files
committed
hwloc.h: doc return values for two remaining functions
Refs #578. Signed-off-by: Brice Goglin <[email protected]>
1 parent f28bcf2 commit 469b39b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/hwloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ extern "C" {
9898
/** \brief Indicate at runtime which hwloc API version was used at build time.
9999
*
100100
* Should be ::HWLOC_API_VERSION if running on the same version.
101+
*
102+
* \return the build-time version number.
101103
*/
102104
HWLOC_DECLSPEC unsigned hwloc_get_api_version(void);
103105

@@ -789,6 +791,8 @@ HWLOC_DECLSPEC void hwloc_topology_check(hwloc_topology_t topology);
789791
*
790792
* This is the depth of ::HWLOC_OBJ_PU objects plus one.
791793
*
794+
* \return the depth of the object tree.
795+
*
792796
* \note NUMA nodes, I/O and Misc objects are ignored when computing
793797
* the depth of the tree (they are placed on special levels).
794798
*/

0 commit comments

Comments
 (0)