summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modffi.c
Commit message (Collapse)AuthorAge
* unix: Fix modffi to be able to return double on x86 machines.Damien George2014-09-06
|
* unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning.Damien George2014-09-06
| | | | | | | | | | For the sake of older versions of gcc (and other compilers), don't use the #warning CPP directive, nor the -Wno-error=cpp option. Also, fix a strict alias warning in modffi.c for older compilers, and add a test for ffi module. Addresses issue #847.
* py: Change all uint to mp_uint_t in obj.h.Damien George2014-08-30
| | | | Part of code cleanup, working towards resolving issue #50.
* Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George2014-08-30
| | | | Addressing issue #50, still some way to go yet.
* py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George2014-07-31
| | | | Addresses issue #724.
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
| | | | See discussion in issue #50.
* modffi: Add special 'C' code for passing a callback function pointer.Paul Sokolovsky2014-07-01
|
* modffi: Support short types.Paul Sokolovsky2014-06-29
|
* Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot2014-06-19
|
* Change const byte* to const char* where sensible.Damien George2014-05-25
| | | | | This removes need for some casts (at least, more than it adds need for new casts!).
* py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky2014-05-13
|
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky2014-05-02
|
* Add ARRAY_SIZE macro, and use it where possible.Damien George2014-04-26
|
* unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues.Paul Sokolovsky2014-04-22
|
* unix: OSError's args[0] should be errno numeric value.Paul Sokolovsky2014-04-22
| | | | Well, Python3 also defines an attribute for that, but that's bloat.
* modffi: Don't use OSError for clearly unrelated errors.Paul Sokolovsky2014-04-22
|
* modffi: Describe typecodes where they differ from used by struct module.Paul Sokolovsky2014-04-22
| | | | Exact behavior of typecodes may be not yet enforced.
* modffi: Update for MP_OBJ_STOP_ITERATION refactor.Paul Sokolovsky2014-04-19
|
* modffi: Mark 'p' type spec deprecated, replace with 'P'.Paul Sokolovsky2014-04-19
| | | | 'p' in struct module is "pascal string". 'P' is void*.
* unix: Update to use new buffer protocol interface with typecode.Damien George2014-04-18
|
* unix modffi: Convert to static module structures.Paul Sokolovsky2014-04-18
|
* modffi: Support float types.Paul Sokolovsky2014-04-17
|
* modffi: Update for latest binary API refactors.Paul Sokolovsky2014-04-11
|
* unix modffi: Support any object implementing buffer protocol as a native arg.Paul Sokolovsky2014-04-08
|
* py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George2014-04-05
| | | | | | This does not affect code size or performance when debugging turned off. To address issue #420.
* unix: Rename module sources per latest naming conventions (mod*.c).Paul Sokolovsky2014-04-04