diff options
Diffstat (limited to 'src/command.c')
| -rw-r--r-- | src/command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index f8add1b..b2f0c71 100644 --- a/src/command.c +++ b/src/command.c @@ -4,6 +4,11 @@ #include <stdlib.h> +struct hashed_command { + uint32_t hash; + struct command command; +}; + struct commands command_registry_create(uint32_t capacity) { return (struct commands){ .commands = calloc(capacity, sizeof(struct hashed_command)), |
