22 lines
310 B
C
22 lines
310 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_
|