ai-content-maker/.venv/Lib/site-packages/numba/cext/cext.h

22 lines
638 B
C
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
#ifndef NUMBA_EXTENSION_HELPER_H_
#define NUMBA_EXTENSION_HELPER_H_
#include "Python.h"
#include "../_numba_common.h"
/* Define all runtime-required symbols in this C module, but do not
export them outside the shared library if possible. */
#define NUMBA_EXPORT_FUNC(_rettype) VISIBILITY_HIDDEN _rettype
#define NUMBA_EXPORT_DATA(_vartype) VISIBILITY_HIDDEN _vartype
/* Use to declare a symbol as exported (global). */
#define NUMBA_GLOBAL_FUNC(_rettype) VISIBILITY_GLOBAL _rettype
NUMBA_EXPORT_FUNC(Py_ssize_t)
aligned_size(Py_ssize_t sz);
#include "dictobject.h"
#include "listobject.h"
#endif // end NUMBA_EXTENSION_HELPER_H_