From 26f49b7e27076e689541b9e13a1b54f60a4ee5c2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Jul 2024 02:57:23 +0900 Subject: feat: organize namespaces --- .../Structure/Modules/DataModes/Active.php | 20 ++++++++++++++++++++ .../Structure/Modules/DataModes/Passive.php | 14 ++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/WebAssembly/Structure/Modules/DataModes/Active.php create mode 100644 src/WebAssembly/Structure/Modules/DataModes/Passive.php (limited to 'src/WebAssembly/Structure/Modules/DataModes') diff --git a/src/WebAssembly/Structure/Modules/DataModes/Active.php b/src/WebAssembly/Structure/Modules/DataModes/Active.php new file mode 100644 index 0000000..41cc9c7 --- /dev/null +++ b/src/WebAssembly/Structure/Modules/DataModes/Active.php @@ -0,0 +1,20 @@ + $offset + */ + protected function __construct( + public int $memory, + public array $offset, + ) { + } +} diff --git a/src/WebAssembly/Structure/Modules/DataModes/Passive.php b/src/WebAssembly/Structure/Modules/DataModes/Passive.php new file mode 100644 index 0000000..6ef6ba9 --- /dev/null +++ b/src/WebAssembly/Structure/Modules/DataModes/Passive.php @@ -0,0 +1,14 @@ +