Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion extension/module/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ class Module {
}

/**
* DEPRECATED: Module manages each Method exclusively.
*
* Get a method by it's name. Not recommended to use this method directly as
* an end user. It's exposed to allow for composability of module in apis that
* operate on method.
Expand All @@ -215,7 +217,7 @@ class Module {
* @returns A Result object containing either a pointer to the requested
* method or an error to indicate failure.
*/
ET_NODISCARD runtime::Result<Method*> method(const std::string& method_name);
ET_DEPRECATED ET_NODISCARD runtime::Result<Method*> method(const std::string& method_name);

/**
* Load the 'forward' method from the program and set up memory management if
Expand Down
Loading