@@ -5397,24 +5397,20 @@ struct OrtApi {
53975397 /* * \brief Get the device memory type from ::OrtMemoryInfo
53985398 *
53995399 * \param[in] ptr The OrtMemoryInfo instance to query.
5400- * \param[out] out The device memory type.
5401- *
5402- * \snippet{doc} snippets.dox OrtStatus Return Value
5400+ * \return The device memory type.
54035401 *
54045402 * \since Version 1.23
54055403 */
5406- ORT_API2_STATUS ( MemoryInfoGetDeviceMemType, _In_ const OrtMemoryInfo* ptr, _Out_ OrtDeviceMemoryType* out );
5404+ ORT_API_T (OrtDeviceMemoryType, MemoryInfoGetDeviceMemType, _In_ const OrtMemoryInfo* ptr);
54075405
54085406 /* * \brief Get the vendor id from ::OrtMemoryInfo
54095407 *
54105408 * \param[in] ptr The OrtMemoryInfo instance to query.
5411- * \param[out] out The vendor id.
5412- *
5413- * \snippet{doc} snippets.dox OrtStatus Return Value
5409+ * \return The vendor id.
54145410 *
54155411 * \since Version 1.23
54165412 */
5417- ORT_API2_STATUS ( MemoryInfoGetVendorId, _In_ const OrtMemoryInfo* ptr, _Out_ uint32_t * out );
5413+ ORT_API_T ( uint32_t , MemoryInfoGetVendorId, _In_ const OrtMemoryInfo* ptr);
54185414
54195415 // / \name OrtValueInfo
54205416 // / @{
@@ -6084,15 +6080,14 @@ struct OrtApi {
60846080 *
60856081 * \param[in] options The OrtRunOptions instance.
60866082 * \param[in] config_key The configuration entry key. A null-terminated string.
6087- * \param[out] config_value Output parameter set to the configuration entry value. Either a null-terminated string if
6088- * a configuration entry exists or NULL otherwise.
6089- * Do not free this value. It is owned by `options` and will be invalidated if another call
6090- * to `AddRunConfigEntry()` overwrites it.
6083+ * \return The configuration entry value. Either a null-terminated string if the entry was found. nullptr otherwise.
60916084 *
60926085 * \snippet{doc} snippets.dox OrtStatus Return Value
6086+ *
6087+ * \since Version 1.23
60936088 */
6094- ORT_API2_STATUS ( GetRunConfigEntry, _In_ const OrtRunOptions* options,
6095- _In_z_ const char * config_key, _Outptr_result_maybenull_z_ const char ** config_value );
6089+ ORT_API_T ( const char *, GetRunConfigEntry, _In_ const OrtRunOptions* options,
6090+ _In_z_ const char * config_key);
60966091
60976092 // / @}
60986093
@@ -6176,7 +6171,7 @@ struct OrtApi {
61766171 /* * \brief Get a const pointer to the raw data inside a tensor
61776172 *
61786173 * Used to read the internal tensor data directly.
6179- * \note The returned pointer is valid until the \p value is destroyed.
6174+ * \note The returned pointer is valid until the OrtValue is destroyed.
61806175 *
61816176 * \param[in] value A tensor type (string tensors are not supported)
61826177 * \param[out] out Filled in with a pointer to the internal storage
0 commit comments