Packages

An experimental work-in-progress (WIP) WebAssembly runtime written in Gleam.

Current section

Files

Jump to
gwr include gwr@spec_Module.hrl
Raw

include/gwr@spec_Module.hrl

-record(module, {
types :: list(gwr@spec:function_type()),
functions :: list(gwr@spec:function_()),
tables :: list(gwr@spec:table()),
memories :: list(gwr@spec:memory()),
globals :: list(gwr@spec:global()),
elements :: list(gwr@spec:element_segment()),
datas :: list(gwr@spec:data_segment()),
start :: gleam@option:option(gwr@spec:start_function()),
imports :: list(gwr@spec:import()),
exports :: list(gwr@spec:export())
}).