UlOS works now

This commit is contained in:
2026-05-01 01:13:26 +03:00
parent c0f5effd1a
commit 7d52a4cd94
4 changed files with 229 additions and 11 deletions

View File

@@ -910,7 +910,9 @@ typedef struct nn_Component {
size_t methodCount;
} nn_Component;
static size_t nn_methodHash(nn_HashAction act, nn_MethodEntry *slot, nn_MethodEntry *ent) {
static size_t nn_methodHash(nn_HashAction act, void *_slot, void *_ent) {
nn_MethodEntry *slot = _slot;
nn_MethodEntry *ent = _ent;
switch(act) {
case NN_HASH_INIT:
slot->name = NULL;
@@ -953,7 +955,9 @@ typedef struct nn_ComponentEntry {
int slot;
} nn_ComponentEntry;
static size_t nn_componentHash(nn_HashAction act, nn_ComponentEntry *slot, nn_ComponentEntry *ent) {
static size_t nn_componentHash(nn_HashAction act, void *_slot, void *_ent) {
nn_ComponentEntry *slot = _slot;
nn_ComponentEntry *ent = _ent;
switch(act) {
case NN_HASH_INIT:
slot->address = NULL;