mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
do_import_numpy.h no longer needed
Change-Id: I15c0175ec2861623900a74c67a3a36e653842a8b
This commit is contained in:
1 parent
2d00e6b685
commit
5be7e31cdb
3 files changed
+2
-23
No files matched your search
@@ -82,7 +82,6 @@ install(FILES
|
||||
builtin_convert.h
|
||||
common.h
|
||||
config.h
|
||||
do_import_numpy.h
|
||||
helpers.h
|
||||
init.h
|
||||
io.h
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
// Licensed to the Apache Software Foundation (ASF) under one
|
||||
// or more contributor license agreements. See the NOTICE file
|
||||
// distributed with this work for additional information
|
||||
// regarding copyright ownership. The ASF licenses this file
|
||||
// to you under the Apache License, Version 2.0 (the
|
||||
// "License"); you may not use this file except in compliance
|
||||
// with the License. You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing,
|
||||
// software distributed under the License is distributed on an
|
||||
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
// Trick borrowed from dynd-python for initializing the NumPy array API
|
||||
|
||||
// Trigger the array import (inversion of NO_IMPORT_ARRAY)
|
||||
#define NUMPY_IMPORT_ARRAY
|
||||
@@ -17,7 +17,8 @@
|
||||
|
||||
#include "arrow/python/platform.h"
|
||||
|
||||
#include "arrow/python/do_import_numpy.h"
|
||||
// Trigger the array import (inversion of NO_IMPORT_ARRAY)
|
||||
#define NUMPY_IMPORT_ARRAY
|
||||
|
||||
#include "arrow/python/init.h"
|
||||
#include "arrow/python/numpy_interop.h"
|
||||
|
||||
Reference in new issue
Block a user