Kohi Game Engine
uuid.h File Reference
#include "defines.h"

Go to the source code of this file.

Data Structures

struct  uuid
 A universally unique identifier (UUID). More...
 

Typedefs

typedef struct uuid uuid
 A universally unique identifier (UUID). More...
 

Functions

void uuid_seed (u64 seed)
 Seeds the uuid generator with the given value. More...
 
KAPI uuid uuid_generate (void)
 Generates a universally unique identifier (UUID). More...
 

Typedef Documentation

◆ uuid

typedef struct uuid uuid

A universally unique identifier (UUID).

Function Documentation

◆ uuid_generate()

KAPI uuid uuid_generate ( void  )

Generates a universally unique identifier (UUID).

Returns
a newly-generated UUID.

◆ uuid_seed()

void uuid_seed ( u64  seed)

Seeds the uuid generator with the given value.

Parameters
seedThe seed value.