aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/ExporterInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/ExporterInterface.php')
-rw-r--r--src/WebAssembly/Execution/ExporterInterface.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/ExporterInterface.php b/src/WebAssembly/Execution/ExporterInterface.php
new file mode 100644
index 0000000..9c2d965
--- /dev/null
+++ b/src/WebAssembly/Execution/ExporterInterface.php
@@ -0,0 +1,13 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
+
+interface ExporterInterface
+{
+ /**
+ * @return list<ExportInst>
+ */
+ public function exports(): array;
+}