work around pybindgen bug

This commit is contained in:
Mathieu Lacage
2011-04-15 13:32:54 +02:00
parent 7a62df07e2
commit 8c7d1155cf

View File

@@ -16,13 +16,13 @@
namespace ns3 {
#define INT64X64_OP_ARITH_TYPE(op,type) \
inline int64x64_t operator op (const int64x64_t &lhs, const type &rhs) \
inline int64x64_t operator op (const int64x64_t &lhs, const type rhs) \
{ \
int64x64_t tmp = lhs; \
tmp op##= int64x64_t (rhs); \
return tmp; \
} \
inline int64x64_t operator op (const type &lhs, const int64x64_t &rhs) \
inline int64x64_t operator op (const type lhs, const int64x64_t &rhs) \
{ \
int64x64_t tmp = int64x64_t (lhs); \
tmp op##= rhs; \