forked from OSchip/llvm-project
Convert "long" input to "long long" in typemap for lldb::tid_t.
Summary: lldb::tid_t is 64 bit, but "long" need not always be 64 bit. Reviewers: chying, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12650 llvm-svn: 246885
This commit is contained in:
parent
964211f25f
commit
2becc987ef
|
@ -29,7 +29,7 @@
|
|||
if (PyInt_Check($input))
|
||||
$1 = PyInt_AsLong($input);
|
||||
else if (PyLong_Check($input))
|
||||
$1 = PyLong_AsLong($input);
|
||||
$1 = PyLong_AsLongLong($input);
|
||||
else
|
||||
{
|
||||
PyErr_SetString(PyExc_ValueError, "Expecting an integer");
|
||||
|
|
Loading…
Reference in New Issue