File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ install(FILES
2424 schema.h
2525 table.h
2626 type .h
27+ test -util.h
2728 DESTINATION include /arrow)
2829
2930#######################################
Original file line number Diff line number Diff line change 4040
4141#define ASSERT_RAISES (ENUM, expr ) \
4242 do { \
43- Status s = (expr); \
43+ ::arrow:: Status s = (expr); \
4444 if (!s.Is ##ENUM ()) { FAIL () << s.ToString (); } \
4545 } while (0 )
4646
4747#define ASSERT_OK (expr ) \
4848 do { \
49- Status s = (expr); \
49+ ::arrow:: Status s = (expr); \
5050 if (!s.ok ()) { FAIL () << s.ToString (); } \
5151 } while (0 )
5252
5353#define ASSERT_OK_NO_THROW (expr ) ASSERT_NO_THROW(ASSERT_OK(expr))
5454
55- #define EXPECT_OK (expr ) \
56- do { \
57- Status s = (expr); \
58- EXPECT_TRUE (s.ok ()); \
55+ #define EXPECT_OK (expr ) \
56+ do { \
57+ ::arrow:: Status s = (expr); \
58+ EXPECT_TRUE (s.ok ()); \
5959 } while (0 )
6060
6161namespace arrow {
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ install(FILES
2626 logging.h
2727 macros .h
2828 memory-pool.h
29+ random.h
2930 status .h
3031 visibility.h
3132 DESTINATION include /arrow/util)
Original file line number Diff line number Diff line change 2222#include < memory>
2323#include < vector>
2424
25+ #include " arrow/util/visibility.h"
26+
2527namespace arrow {
2628
2729class Buffer ;
@@ -76,7 +78,7 @@ static inline bool is_multiple_of_64(int64_t n) {
7678}
7779
7880void bytes_to_bits (const std::vector<uint8_t >& bytes, uint8_t * bits);
79- Status bytes_to_bits (const std::vector<uint8_t >&, std::shared_ptr<Buffer>*);
81+ ARROW_EXPORT Status bytes_to_bits (const std::vector<uint8_t >&, std::shared_ptr<Buffer>*);
8082
8183} // namespace util
8284
You can’t perform that action at this time.
0 commit comments