mirror of https://github.com/KLayout/klayout.git
Merge pull request #373 from KLayout/issue-372
Fixed #372 (build issue with 64 bit coordinates)
This commit is contained in:
commit
171bcd4401
|
|
@ -142,7 +142,7 @@ struct test_type_func<__int128>
|
||||||
{
|
{
|
||||||
bool operator() (PyObject *rval, bool loose)
|
bool operator() (PyObject *rval, bool loose)
|
||||||
{
|
{
|
||||||
return test_type<int> (rval, loose);
|
return test_type_func<int> () (rval, loose);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -582,7 +582,7 @@ struct c2python_func<unsigned long long>
|
||||||
|
|
||||||
#if defined(HAVE_64BIT_COORD)
|
#if defined(HAVE_64BIT_COORD)
|
||||||
template <>
|
template <>
|
||||||
struct c2python_func<const __int128 &>
|
struct c2python_func<__int128>
|
||||||
{
|
{
|
||||||
PyObject *operator() (const __int128 &c)
|
PyObject *operator() (const __int128 &c)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue