archeus/include/arc/std/array.h
2023-01-30 23:22:34 -07:00

22 lines
No EOL
308 B
C

#ifndef ARC_STD_ARRAY_H_
#define ARC_STD_ARRAY_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief a type that holds an array of data and its size
*/
typedef struct ARC_Array {
uint32_t *size;
void *data;
} ARC_Array;
#ifdef __cplusplus
}
#endif
#endif //ARC_STD_ARRAY_H_