We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3968ec3 commit df45a2fCopy full SHA for df45a2f
include/onnxruntime/core/session/onnxruntime_c_api.h
@@ -4428,7 +4428,7 @@ struct OrtApi {
4428
* If `out` is nullptr, the value of `size` is set to the size of the name
4429
* string (including null-terminator), and a success status is returned.
4430
*
4431
- * If the `size` parameter is greater than or equal to the name string's size,
+ * If the `size` parameter is greater than or equal to the name string's size and `out` is not nullptr,
4432
* the value of `size` is set to the true size of the string (including null-terminator),
4433
* the provided memory is filled with the string's contents, and a success status is returned.
4434
0 commit comments