<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/binary.c, branch v1.5.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-11-29T14:25:35+00:00</updated>
<entry>
<title>py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.</title>
<updated>2015-11-29T14:25:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=999cedb90ff0827cdb9dfe0e4faa6ebc1739d271'/>
<id>urn:sha1:999cedb90ff0827cdb9dfe0e4faa6ebc1739d271</id>
<content type='text'>
This allows the mp_obj_t type to be configured to something other than a
pointer-sized primitive type.

This patch also includes additional changes to allow the code to compile
when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of
mp_uint_t, and various casts.
</content>
</entry>
<entry>
<title>py/binary: Make use of MP_ALIGN.</title>
<updated>2015-11-27T12:05:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T12:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=88a9103b3c31a3ecbd70669a53d82dc5a947dfe8'/>
<id>urn:sha1:88a9103b3c31a3ecbd70669a53d82dc5a947dfe8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objarray: Allow to create array of void pointers, as extension to CPython.</title>
<updated>2015-10-12T07:13:51+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-12T07:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91fc075a33a6f0bf8e1a07b797f6fd01207a5e17'/>
<id>urn:sha1:91fc075a33a6f0bf8e1a07b797f6fd01207a5e17</id>
<content type='text'>
Using 'P' format specifier (matches struct module). This is another shortcut
for FFI, just as previously introduced "array of objects" ('O').
</content>
</entry>
<entry>
<title>py/binary: Add support for array('q') and array('Q').</title>
<updated>2015-09-01T15:31:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-01T15:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=81794fcd31e604fb74bef89d749ee839b7dfc58f'/>
<id>urn:sha1:81794fcd31e604fb74bef89d749ee839b7dfc58f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/binary: Make return type of mp_binary_get_size size_t instead of int.</title>
<updated>2015-05-17T17:12:19+00:00</updated>
<author>
<name>Kaspar Schleiser</name>
<email>kaspar@schleiser.de</email>
</author>
<published>2015-05-10T11:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f5dd6f7f3707b67acbd1dbfe71cad2b958d5d7be'/>
<id>urn:sha1:f5dd6f7f3707b67acbd1dbfe71cad2b958d5d7be</id>
<content type='text'>
Fixes sign-compare warning.
</content>
</entry>
<entry>
<title>py: Fix handling of negative numbers in struct.pack of q/Q.</title>
<updated>2015-04-25T22:51:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9472907ae1906ccff7ce5cab24f0fa9d146c4534'/>
<id>urn:sha1:9472907ae1906ccff7ce5cab24f0fa9d146c4534</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Support conversion of bignum to bytes.</title>
<updated>2015-04-25T22:16:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-25T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=271d18eb08ec488ee45f8e6cd852e8236074f082'/>
<id>urn:sha1:271d18eb08ec488ee45f8e6cd852e8236074f082</id>
<content type='text'>
This gets int.to_bytes working for bignum, and also struct.pack with 'q'
and 'Q' args on 32-bit machines.

Addresses issue #1155.
</content>
</entry>
<entry>
<title>objarray: Support array('O'), array of objects, as extension to CPython.</title>
<updated>2015-03-05T20:58:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-03-05T20:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=24c1000741dc6c93e2db64fbe1d69159a72b87e8'/>
<id>urn:sha1:24c1000741dc6c93e2db64fbe1d69159a72b87e8</id>
<content type='text'>
Might be useful at least for memoryview hacks.
</content>
</entry>
<entry>
<title>py: Add support for floats in mp_binary_{get,set}_val()</title>
<updated>2015-01-27T20:49:01+00:00</updated>
<author>
<name>David Steinberg</name>
<email>david.steinberg.dev@gmail.com</email>
</author>
<published>2015-01-25T02:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0b3014ce3ac381e886c956137e4e5475061a5ddc'/>
<id>urn:sha1:0b3014ce3ac381e886c956137e4e5475061a5ddc</id>
<content type='text'>
- This then provides support for floats in the struct package
</content>
</entry>
<entry>
<title>binary: Rework array accessors. They work with native, not stdint types.</title>
<updated>2015-01-24T01:18:33+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-24T01:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91232d38505b47330351839b03fd8467c9843322'/>
<id>urn:sha1:91232d38505b47330351839b03fd8467c9843322</id>
<content type='text'>
</content>
</entry>
</feed>
