forked from scottpurdy/capnp-swig-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpp_to_py.h
More file actions
30 lines (22 loc) · 677 Bytes
/
cpp_to_py.h
File metadata and controls
30 lines (22 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __PYX_HAVE__cpp_to_py
#define __PYX_HAVE__cpp_to_py
#ifndef __PYX_HAVE_API__cpp_to_py
#ifndef __PYX_EXTERN_C
#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#else
#define __PYX_EXTERN_C extern
#endif
#endif
#ifndef DL_IMPORT
#define DL_IMPORT(_T) _T
#endif
__PYX_EXTERN_C DL_IMPORT(PyObject) *create_reader( ::capnp::DynamicStruct::Reader, PyObject *);
__PYX_EXTERN_C DL_IMPORT(PyObject) *create_builder( ::capnp::DynamicStruct::Builder, PyObject *);
#endif /* !__PYX_HAVE_API__cpp_to_py */
#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initcpp_to_py(void);
#else
PyMODINIT_FUNC PyInit_cpp_to_py(void);
#endif
#endif /* !__PYX_HAVE__cpp_to_py */