archeus/include/arc/std/array.h

22 lines
308 B
C
Raw Normal View History

2022-12-19 23:16:17 -07:00
#ifndef ARC_STD_ARRAY_H_
#define ARC_STD_ARRAY_H_
#include <stdint.h>
2023-01-30 23:22:34 -07:00
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief a type that holds an array of data and its size
*/
2022-12-19 23:16:17 -07:00
typedef struct ARC_Array {
uint32_t *size;
void *data;
} ARC_Array;
2023-01-30 23:22:34 -07:00
#ifdef __cplusplus
}
#endif
2022-12-19 23:16:17 -07:00
#endif //ARC_STD_ARRAY_H_