pretty much all the structs we care about

This commit is contained in:
2025-05-22 16:43:16 +02:00
parent 229a53ac9a
commit f983b80e08
7 changed files with 135 additions and 7 deletions

16
src/computer.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef NEONUCLEUS_COMPUTER_H
#define NEONUCLEUS_COMPUTER_H
#include "neonucleus.h"
typedef struct nn_computer {
nn_component *components;
size_t componentLen;
size_t componentCap;
nn_value args[NN_MAX_ARGS];
size_t argc;
nn_value rets[NN_MAX_RETS];
size_t retc;
} nn_computer;
#endif