Build libpakrd with cmake instead of using it as prebuilt library
This commit is contained in:
1 parent
c5dd826c66
commit
2de3e9b4df
12 files changed
+442
-15
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#ifndef D_ARR_H
|
||||
#define D_ARR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
#include "aliases.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#define INVALID_IDX -1
|
||||
|
||||
typedef struct darr darr_t;
|
||||
|
||||
bool darr_init(darr_t **darr);
|
||||
i64 darr_add(darr_t **darr, void *item);
|
||||
void **darr_get_items(darr_t *darr);
|
||||
void darr_free(darr_t **darr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // !D_ARR_H
|
||||
Reference in new issue
Block a user