We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b2c1f commit eba4909Copy full SHA for eba4909
runtime/executor/method_meta.h
@@ -203,11 +203,11 @@ class MethodMeta final {
203
/**
204
* Get the backend name at the given index.
205
*
206
- * @param[in] index The index of the backend name.
207
- * @returns The backend name as a C-style string, or nullptr if the index is
208
- * invalid.
+ * @param index The index of the backend name.
+ * @returns A Result wrapping the backend name as a C-style string
+ * on success, or an error if the index is invalid.
209
*/
210
- const char* get_backend_name(size_t index) const;
+ Result<const char*> get_backend_name(size_t index) const;
211
212
213
* Get the number of instructions in this method.
0 commit comments