added symbol lib
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
#include <stdint.h>
|
||||||
|
#include "libkeke_symbol.h"
|
||||||
|
|
||||||
|
static KekeSymbol iota = KEKE_NULL_SYMBOL + 1;
|
||||||
|
|
||||||
|
KekeSymbol keke_new_symbol() {
|
||||||
|
return iota++;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
#include <stdint.h>
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
typedef uint64_t KekeSymbol;
|
||||||
|
|
||||||
|
#define KEKE_NULL_SYMBOL 0UL
|
||||||
|
|
||||||
|
KekeSymbol keke_new_symbol();
|
||||||
Reference in New Issue
Block a user