File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,8 @@ class Module {
206206 }
207207
208208 /* *
209+ * DEPRECATED: Module manages each Method exclusively.
210+ *
209211 * Get a method by it's name. Not recommended to use this method directly as
210212 * an end user. It's exposed to allow for composability of module in apis that
211213 * operate on method.
@@ -215,7 +217,8 @@ class Module {
215217 * @returns A Result object containing either a pointer to the requested
216218 * method or an error to indicate failure.
217219 */
218- ET_NODISCARD runtime::Result<Method*> method (const std::string& method_name);
220+ ET_DEPRECATED ET_NODISCARD runtime::Result<Method*> method (
221+ const std::string& method_name);
219222
220223 /* *
221224 * Load the 'forward' method from the program and set up memory management if
You can’t perform that action at this time.
0 commit comments