added symbol lib

This commit is contained in:
2026-08-17 09:51:19 -04:00
parent 35f0d4cc10
commit 204f521225
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#include <stdint.h>
#include "libkeke_symbol.h"
static KekeSymbol iota = KEKE_NULL_SYMBOL + 1;
KekeSymbol keke_new_symbol() {
return iota++;
}
+8
View File
@@ -0,0 +1,8 @@
#include <stdint.h>
#pragma once
typedef uint64_t KekeSymbol;
#define KEKE_NULL_SYMBOL 0UL
KekeSymbol keke_new_symbol();