mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 17:15:39 +08:00
workaround for python visibility
This commit is contained in:
1 parent
d4934a9d79
commit
2ff24804ea
1 file changed
+6
@@ -51,6 +51,12 @@
|
||||
} \
|
||||
} while (0);
|
||||
|
||||
/// Fix visibility of the Python C extension entry point
|
||||
#ifdef PyMODINIT_FUNC
|
||||
#undef PyMODINIT_FUNC
|
||||
#endif
|
||||
#define PyMODINIT_FUNC extern "C" __attribute__((visibility ("default"))) PyObject*
|
||||
|
||||
/// Allocation granularity used in plasma for object allocation.
|
||||
#define BLOCK_SIZE 64
|
||||
|
||||
|
||||
Reference in new issue
Block a user