Skip to content

Commit

Permalink
BUG: Export symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 23, 2017
1 parent be220c8 commit b98c894
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions cpp/src/arrow/util/int128.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace decimal {
/// Semi-numerical Algorithms section 4.3.1.
///
/// Adapted from the Apache ORC C++ implementation
class Int128 {
class ARROW_EXPORT Int128 {
public:
constexpr Int128() : Int128(0, 0) {}

Expand Down Expand Up @@ -108,19 +108,19 @@ class Int128 {
uint64_t low_bits_;
};

bool operator==(const Int128& left, const Int128& right);
bool operator!=(const Int128& left, const Int128& right);
bool operator<(const Int128& left, const Int128& right);
bool operator<=(const Int128& left, const Int128& right);
bool operator>(const Int128& left, const Int128& right);
bool operator>=(const Int128& left, const Int128& right);

Int128 operator-(const Int128& operand);
Int128 operator+(const Int128& left, const Int128& right);
Int128 operator-(const Int128& left, const Int128& right);
Int128 operator*(const Int128& left, const Int128& right);
Int128 operator/(const Int128& left, const Int128& right);
Int128 operator%(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator==(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator!=(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator<(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator<=(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator>(const Int128& left, const Int128& right);
ARROW_EXPORT bool operator>=(const Int128& left, const Int128& right);
ARROW_EXPORT
ARROW_EXPORT Int128 operator-(const Int128& operand);
ARROW_EXPORT Int128 operator+(const Int128& left, const Int128& right);
ARROW_EXPORT Int128 operator-(const Int128& left, const Int128& right);
ARROW_EXPORT Int128 operator*(const Int128& left, const Int128& right);
ARROW_EXPORT Int128 operator/(const Int128& left, const Int128& right);
ARROW_EXPORT Int128 operator%(const Int128& left, const Int128& right);

} // namespace decimal
} // namespace arrow
Expand Down

0 comments on commit b98c894

Please sign in to comment.