LibWasm: Store function references' source module in RefPtr to const

This commit is contained in:
Andrew Kaster 2025-04-15 16:01:01 -06:00 committed by Andrew Kaster
parent c471faee10
commit 16e764ddb6
Notes: github-actions[bot] 2025-04-16 16:43:18 +00:00

View file

@ -51,7 +51,7 @@ public:
};
struct Func {
FunctionAddress address;
RefPtr<Module> source_module; // null if host function.
RefPtr<Module const> source_module; // null if host function.
};
struct Extern {
ExternAddress address;