Fixed extern C declaration (found by Mehrdad)

This commit is contained in:
Philipp Moritz 2016-10-06 00:58:27 -07:00
parent 7055c6f793
commit 4d2a77901a

View file

@ -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) {