13 lines
266 B
C
13 lines
266 B
C
#pragma once
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void vec_create(void** out);
|
|
void vec_destroy(void* vec);
|
|
void vec_push(void* vec, double val);
|
|
double vec_get(void* vec, int idx);
|
|
int vec_size(void* vec);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|