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
commit 16e764ddb6
Notes: github-actions[bot] 2025-04-16 16:43:18 +00:00

View file

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