mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 14:19:24 +08:00
Fixed extern C declaration (found by Mehrdad)
This commit is contained in:
@@ -8,9 +8,13 @@ using namespace arrow;
|
||||
|
||||
int32_t MAX_RECURSION_DEPTH = 100;
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern PyObject* numbuf_serialize_callback;
|
||||
extern PyObject* numbuf_deserialize_callback;
|
||||
|
||||
}
|
||||
|
||||
namespace numbuf {
|
||||
|
||||
Status get_value(ArrayPtr arr, int32_t index, int32_t type, PyObject* base, PyObject** result) {
|
||||
|
||||
Reference in New Issue
Block a user