Add wrapping constructor for (signed) long long

Completely analogous to how unsigned long long is handled
This commit is contained in:
Wladimir J. van der Laan 2012-09-09 11:34:46 +02:00
commit 3b22d5accf
2 changed files with 6 additions and 0 deletions

View file

@ -72,6 +72,10 @@ PyObject *ctor_llvmwrap_ull(llvmwrap_ull ull)
return PyLong_FromUnsignedLongLong(ull);
}
PyObject *ctor_llvmwrap_ll(llvmwrap_ll ll)
{
return PyLong_FromLongLong(ll);
}
/*===----------------------------------------------------------------------===*/
/* Helper functions */