Kohi Game Engine
|
Contains a system for creating numeric identifiers. More...
#include "defines.h"
Go to the source code of this file.
Data Structures | |
struct | identifier |
Typedefs | |
typedef struct identifier | identifier |
Functions | |
KAPI identifier | identifier_create (void) |
Generates a new unique identifier. More... | |
KAPI identifier | identifier_from_u64 (u64 uniqueid) |
Creates an identifier from a known value. Useful for deserialization. More... | |
KAPI b8 | identifiers_equal (identifier a, identifier b) |
Indicates if the provided identifiers are equal. More... | |
Contains a system for creating numeric identifiers.
typedef struct identifier identifier |
A Globally/Universally Unique identifier in 64-bit unsigned integer format. To be used primarily as an identifier for resources. (De)serialization friendly.
KAPI identifier identifier_create | ( | void | ) |
Generates a new unique identifier.
KAPI identifier identifier_from_u64 | ( | u64 | uniqueid | ) |
Creates an identifier from a known value. Useful for deserialization.
KAPI b8 identifiers_equal | ( | identifier | a, |
identifier | b | ||
) |
Indicates if the provided identifiers are equal.