<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/misc.h, branch v1.3.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-09-25T14:49:26+00:00</updated>
<entry>
<title>py: For malloc and vstr functions, use size_t exclusively for int type.</title>
<updated>2014-09-25T14:49:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-23T17:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b0261341d3706329ea58d8fc1a5ff9c788c9ccf7'/>
<id>urn:sha1:b0261341d3706329ea58d8fc1a5ff9c788c9ccf7</id>
<content type='text'>
It seems most sensible to use size_t for measuring "number of bytes" in
malloc and vstr functions (since that's what size_t is for).  We don't
use mp_uint_t because malloc and vstr are not Micro Python specific.
</content>
</entry>
<entry>
<title>py: Add generic helper to align a pointer.</title>
<updated>2014-07-12T12:57:28+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-12T12:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=564e46452db09d603e3c0168fbaa008a5202d431'/>
<id>urn:sha1:564e46452db09d603e3c0168fbaa008a5202d431</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>py: Make unichar_charlen() accept/return machine_uint_t.</title>
<updated>2014-06-28T20:15:29+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-28T20:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e215fa4c2773b7a4102aec4203c9bf74aa0eccc'/>
<id>urn:sha1:9e215fa4c2773b7a4102aec4203c9bf74aa0eccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Small comments, name changes, use of machine_int_t.</title>
<updated>2014-06-28T09:27:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-06-28T09:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e04a44e2f65d1ac49e5cce164d6010ff968f4d48'/>
<id>urn:sha1:e04a44e2f65d1ac49e5cce164d6010ff968f4d48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc: Add count_lead_ones() function, useful for UTF-8 handling.</title>
<updated>2014-06-26T21:04:20+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-15T20:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ce81312d8a81c7579ecc35ccdc53a49543c0b0d5'/>
<id>urn:sha1:ce81312d8a81c7579ecc35ccdc53a49543c0b0d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement basic unicode functions.</title>
<updated>2014-06-26T21:04:17+00:00</updated>
<author>
<name>Chris Angelico</name>
<email>rosuav@gmail.com</email>
</author>
<published>2014-06-03T19:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c88987c1af10e19ab2703231d0702202127eb046'/>
<id>urn:sha1:c88987c1af10e19ab2703231d0702202127eb046</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prefix ARRAY_SIZE with micropython prefix MP_</title>
<updated>2014-06-19T16:54:34+00:00</updated>
<author>
<name>Emmanuel Blot</name>
<email>emmanuel.blot@free.fr</email>
</author>
<published>2014-06-19T16:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6932d650620d3753b5a18df5131227276260f74'/>
<id>urn:sha1:f6932d650620d3753b5a18df5131227276260f74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unicode: Add trivial implementation of unichar_charlen().</title>
<updated>2014-06-14T03:30:30+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-14T03:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ddbd1bee79eccfd808308ac1cd71ee76290dfd9'/>
<id>urn:sha1:7ddbd1bee79eccfd808308ac1cd71ee76290dfd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unicode: String API is const byte*.</title>
<updated>2014-06-14T03:22:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-14T03:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b0bb458810142dac24fc12279c7bc541464a354d'/>
<id>urn:sha1:b0bb458810142dac24fc12279c7bc541464a354d</id>
<content type='text'>
We still have that char vs byte dichotomy, but majority of string operations
now use byte.
</content>
</entry>
</feed>
