mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fixed extern C declaration (found by Mehrdad)
This commit is contained in:
parent
7055c6f793
commit
4d2a77901a
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue