aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 12:58:38 +0100
committereunhhu <[email protected]>2026-09-25 12:58:38 +0100
commitd5c5ed788888423e7d1e7552a7dc6a59af97de36 (patch)
treef657a819a8f3f0554ddc62e16d4fa1864cfbf89e /prototypes
parenta2a430f6c2d973232a4e995133b372ba877558cf (diff)
downloadpure-d5c5ed788888423e7d1e7552a7dc6a59af97de36.tar.gz
pure-d5c5ed788888423e7d1e7552a7dc6a59af97de36.zip
Allow 32 inputs per module
A text editor needs more keys than the workbench-era limit of 8: typing, four arrows, Backspace, Delete, Home, End and a mark already make 10. Event numbers stay 1 + 2i and 2 + 2i; the module grows by the input name tables.
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/connections/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/prototypes/connections/module.h b/prototypes/connections/module.h
index e66f6dd..c728fa8 100644
--- a/prototypes/connections/module.h
+++ b/prototypes/connections/module.h
@@ -12,7 +12,7 @@
* operand types (including which text a cursor belongs to), stack heights,
* forward-only branches, names, constants and effects. */
enum {
- PURE_MODULE_STATES = 32, PURE_MODULE_INPUTS = 8, PURE_MODULE_VIEWS = 24,
+ PURE_MODULE_STATES = 32, PURE_MODULE_INPUTS = 32, PURE_MODULE_VIEWS = 24,
PURE_MODULE_HANDLERS = 64, PURE_MODULE_CODE = 512, PURE_MODULE_STACK = 64,
PURE_MODULE_NAME = 32, PURE_MODULE_STRINGS = 32768, PURE_MODULE_HEADER = 40,
PURE_MODULE_FIELDS = 32, PURE_MODULE_COLLECTIONS = 1, PURE_MODULE_CONSTANTS = 64,