Kohi Game Engine
kname.h
Go to the documentation of this file.
1 
23 #pragma once
24 
25 #include "defines.h"
26 
28 #define INVALID_KNAME 0
29 
36 typedef u64 kname;
37 
49 KAPI kname kname_create(const char* str);
50 
59 KAPI const char* kname_string_get(kname name);
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
u64 kname
A kname is a string hash made for quick comparisons versus traditional string comparisons.
Definition: kname.h:36
KAPI const char * kname_string_get(kname name)
KAPI kname kname_create(const char *str)