This commit is contained in:
2025-05-22 22:00:41 +02:00
parent 3fcf604cd1
commit 8991d28d67
4 changed files with 115 additions and 9 deletions

View File

@@ -3,6 +3,11 @@
#include "neonucleus.h"
typedef struct nn_signal {
size_t len;
nn_value values[NN_MAX_SIGNAL_VALS];
} nn_signal;
typedef struct nn_computer {
char state;
bool allocatedError;
@@ -25,6 +30,8 @@ typedef struct nn_computer {
size_t userCount;
size_t energy;
size_t maxEnergy;
nn_signal signals[NN_MAX_SIGNALS];
size_t signalCount;
} nn_computer;
#endif