Remove unneeded exports

Change-Id: I3416aaa226f7095d427a4daeed4481538c01ee5c
This commit is contained in:
Wes McKinney committed 2017-04-16 15:30:52 -04:00
1 parent 024579ead3
commit 5162203de7
5 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -38,7 +38,7 @@ class HdfsClient;
class HdfsReadableFile;
class HdfsOutputStream;
struct ARROW_EXPORT HdfsPathInfo {
struct HdfsPathInfo {
ObjectType::type kind;
std::string name;
@@ -56,9 +56,9 @@ struct ARROW_EXPORT HdfsPathInfo {
int16_t permissions;
};
enum class ARROW_EXPORT HdfsDriver : char { LIBHDFS, LIBHDFS3 };
enum class HdfsDriver : char { LIBHDFS, LIBHDFS3 };
struct ARROW_EXPORT HdfsConnectionConfig {
struct HdfsConnectionConfig {
std::string host;
int port;
std::string user;
+2 -2
View File
@@ -34,11 +34,11 @@ class Status;
namespace io {
struct ARROW_EXPORT FileMode {
struct FileMode {
enum type { READ, WRITE, READWRITE };
};
struct ARROW_EXPORT ObjectType {
struct ObjectType {
enum type { FILE, DIRECTORY };
};
+1 -1
View File
@@ -38,7 +38,7 @@ namespace py {
bool is_contiguous(PyObject* array) {
if (PyArray_Check(array)) {
return (PyArray_FLAGS(reinterpret_cast<PyArrayObject*>(array)) &
(NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS)) != 0;
(NPY_ARRAY_C_CONTIGUOUS | NPY_ARRAY_F_CONTIGUOUS)) != 0;
} else {
return false;
}
+2 -2
View File
@@ -63,8 +63,8 @@ Status GetTensorType(PyObject* dtype, std::shared_ptr<DataType>* out);
ARROW_EXPORT
Status GetNumPyType(const DataType& type, int* type_num);
ARROW_EXPORT Status
NdarrayToTensor(MemoryPool* pool, PyObject* ao, std::shared_ptr<Tensor>* out);
ARROW_EXPORT Status NdarrayToTensor(
MemoryPool* pool, PyObject* ao, std::shared_ptr<Tensor>* out);
ARROW_EXPORT Status TensorToNdarray(const Tensor& tensor, PyObject* base, PyObject** out);
+1 -1
View File
@@ -21,8 +21,8 @@
#ifndef ARROW_PYTHON_PLATFORM_H
#define ARROW_PYTHON_PLATFORM_H
#include <iostream>
#include <Python.h>
#include <iostream>
// Work around C2528 error
#if _MSC_VER >= 1900