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 {
206
206
}
207
207
208
208
/* *
209
+ * DEPRECATED: Module manages each Method exclusively.
210
+ *
209
211
* Get a method by it's name. Not recommended to use this method directly as
210
212
* an end user. It's exposed to allow for composability of module in apis that
211
213
* operate on method.
@@ -215,7 +217,8 @@ class Module {
215
217
* @returns A Result object containing either a pointer to the requested
216
218
* method or an error to indicate failure.
217
219
*/
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);
219
222
220
223
/* *
221
224
* 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