| 1 |
#ifndef LIBRT_VECS_API_H |
| 2 |
#define LIBRT_VECS_API_H |
| 3 |
|
| 4 |
#include "librt_vecs.h" |
| 5 |
|
| 6 |
#define PY_SSIZE_T_CLEAN |
| 7 |
#include <Python.h> |
| 8 |
#include <stdint.h> |
| 9 |
|
| 10 |
int |
| 11 |
import_librt_vecs(void); |
| 12 |
|
| 13 |
// Global API pointers initialized by import_librt_vecs() |
| 14 |
extern VecCapsule *VecApi; |
| 15 |
extern VecI64API VecI64Api; |
| 16 |
extern VecI32API VecI32Api; |
| 17 |
extern VecI16API VecI16Api; |
| 18 |
extern VecU8API VecU8Api; |
| 19 |
extern VecFloatAPI VecFloatApi; |
| 20 |
extern VecBoolAPI VecBoolApi; |
| 21 |
extern VecTAPI VecTApi; |
| 22 |
extern VecNestedAPI VecNestedApi; |
| 23 |
|
| 24 |
#endif // LIBRT_VECS_API_H |