22 lines
299 B
C
22 lines
299 B
C
#ifndef REUSABLE_IDS_H
|
|
#define REUSABLE_IDS_H
|
|
|
|
#include "aliases.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // !__cplusplus
|
|
|
|
#define INVALID_ID -1
|
|
|
|
typedef i32 ObjectID;
|
|
typedef i32 AssetID;
|
|
|
|
i32 reuse_id(i32 *ids, u64 count);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif // !__cplusplus
|
|
|
|
#endif // !REUSABLE_IDS_H
|