Add wrapping constructor for (signed) long long
Completely analogous to how unsigned long long is handled
This commit is contained in:
parent
fbb7208b85
commit
3b22d5accf
2 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue