Added aliases with sizes for the integer and floating-point numbers

This commit is contained in:
abdelrahman committed 2022-11-27 15:04:34 +00:00
1 parent 45f6021f82
commit 5e6211c2a9
14 files changed
+146 -136

No files matched your search

+4 -5
View File
@@ -1,8 +1,7 @@
#ifndef REUSABLE_IDS_H
#define REUSABLE_IDS_H
#include <stddef.h>
#include <stdint.h>
#include "aliases.h"
#ifdef __cplusplus
extern "C" {
@@ -10,10 +9,10 @@ extern "C" {
#define INVALID_ID -1
typedef int32_t ObjectID;
typedef int32_t AssetID;
typedef i32 ObjectID;
typedef i32 AssetID;
int32_t reuse_id(int32_t *ids, size_t count);
i32 reuse_id(i32 *ids, u64 count);
#ifdef __cplusplus
}