aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/ExporterInterface.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-12 22:39:20 +0900
committernsfisis <nsfisis@gmail.com>2024-07-13 08:23:06 +0900
commite94a046a548795b8675bc109c87413de6bca53e7 (patch)
tree9958efead32039de87f3564c77a7b09f978a13ef /src/WebAssembly/Execution/ExporterInterface.php
parentd1c268b76f65e69ea708096d5023c4d731cff594 (diff)
downloadphp-waddiwasi-e94a046a548795b8675bc109c87413de6bca53e7.tar.gz
php-waddiwasi-e94a046a548795b8675bc109c87413de6bca53e7.tar.zst
php-waddiwasi-e94a046a548795b8675bc109c87413de6bca53e7.zip
feat: add Linker class
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;
+}