@@ -33,7 +33,7 @@ namespace decimal {
3333// / Semi-numerical Algorithms section 4.3.1.
3434// /
3535// / Adapted from the Apache ORC C++ implementation
36- class Int128 {
36+ class ARROW_EXPORT Int128 {
3737 public:
3838 constexpr Int128 () : Int128(0 , 0 ) {}
3939
@@ -108,19 +108,19 @@ class Int128 {
108108 uint64_t low_bits_;
109109};
110110
111- bool operator ==(const Int128& left, const Int128& right);
112- bool operator !=(const Int128& left, const Int128& right);
113- bool operator <(const Int128& left, const Int128& right);
114- bool operator <=(const Int128& left, const Int128& right);
115- bool operator >(const Int128& left, const Int128& right);
116- bool operator >=(const Int128& left, const Int128& right);
117-
118- Int128 operator -(const Int128& operand);
119- Int128 operator +(const Int128& left, const Int128& right);
120- Int128 operator -(const Int128& left, const Int128& right);
121- Int128 operator *(const Int128& left, const Int128& right);
122- Int128 operator /(const Int128& left, const Int128& right);
123- Int128 operator %(const Int128& left, const Int128& right);
111+ ARROW_EXPORT bool operator ==(const Int128& left, const Int128& right);
112+ ARROW_EXPORT bool operator !=(const Int128& left, const Int128& right);
113+ ARROW_EXPORT bool operator <(const Int128& left, const Int128& right);
114+ ARROW_EXPORT bool operator <=(const Int128& left, const Int128& right);
115+ ARROW_EXPORT bool operator >(const Int128& left, const Int128& right);
116+ ARROW_EXPORT bool operator >=(const Int128& left, const Int128& right);
117+ ARROW_EXPORT
118+ ARROW_EXPORT Int128 operator -(const Int128& operand);
119+ ARROW_EXPORT Int128 operator +(const Int128& left, const Int128& right);
120+ ARROW_EXPORT Int128 operator -(const Int128& left, const Int128& right);
121+ ARROW_EXPORT Int128 operator *(const Int128& left, const Int128& right);
122+ ARROW_EXPORT Int128 operator /(const Int128& left, const Int128& right);
123+ ARROW_EXPORT Int128 operator %(const Int128& left, const Int128& right);
124124
125125} // namespace decimal
126126} // namespace arrow
0 commit comments