]> granicus.if.org Git - yasm/commit
* intnum.c (yasm_intnum_create_sized): New, reverse function of
authorPeter Johnson <peter@tortall.net>
Sat, 15 Apr 2006 09:59:17 +0000 (09:59 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 15 Apr 2006 09:59:17 +0000 (09:59 -0000)
commitbbf23a557d45f52c38cc585142b0cfd9e69019c7
treeae8fc1f1fa9428bd65bfdf384bb10e98fa4306ab
parent8909d99167629e059c417ed5a7d17272fb6b562b
* intnum.c (yasm_intnum_create_sized): New, reverse function of
yasm_intnum_get_sized().
* intnum.h (yasm_intnum_create_sized): Prototype.

* yasm.pyx: Bring in _PyLong_From/AsByteArray functions.
* intnum.pyx: Use yasm_intnum_create_sized(), etc to implement full 128-bit
number handling.

* intnum.c (yasm_intnum_get_str): Return strings in hex rather than in
decimal.

svn path=/trunk/yasm/; revision=1488
libyasm/intnum.c
libyasm/intnum.h
tools/python-yasm/intnum.pxi
tools/python-yasm/yasm.pyx