summaryrefslogtreecommitdiff
path: root/unix/modffi.c
AgeCommit message (Expand)Author
2017-08-13all: Raise exceptions via mp_raise_XXXJavier Candeira
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-03-25unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2016-10-07unix: Use mp_raise_OSError helper function.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-01-15unix/modffi: Allow to compile modffi in OBJ_REPR_D mode.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-11-20unix/modffi: Mark 'O' type specifier as implemented.Paul Sokolovsky
2015-09-22unix/modffi.c: cast first to intptr_t when casting from/to pointerVicente Olivert Riera
2015-08-31modffi: dlsym() doesn't set errno, so use ENOENT for OSError.Paul Sokolovsky
2015-05-01unix/modffi.c: get_buffer is allowed to return NULL if len=0.Damien George
2015-04-28unix/modffi: Support passing float/double args.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-02-25modffi: Implement 'O' type handling for func arguments.Paul Sokolovsky
2015-02-11modffi: Add toplevel func() function to create a function by pointer.Paul Sokolovsky
2015-02-06modffi: Add .addr() method to just get symbol address.Paul Sokolovsky
2015-01-25modffi: 's' (string) return type: handle NULL properly (return None).Paul Sokolovsky
2015-01-22modffi: Support return values of mp_obj_t type.Paul Sokolovsky
2015-01-21modffi: Support open own executable using open(None).Paul Sokolovsky
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-08unix: Allow to compile with float support disabled.Damien George
2015-01-01unix: Prefix includes with py/; remove need for -I../py.Damien George
2014-12-16modffi: Support void (None) return value for Python callback functions.Paul Sokolovsky
2014-12-15modffi: 64-bit cleanness (fixes actual bug in callback arg handling).Paul Sokolovsky
2014-12-10py: Make functions static where appropriate.Damien George
2014-12-05py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George
2014-11-29Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George
2014-09-06unix: Fix modffi to be able to return double on x86 machines.Damien George
2014-09-06unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning.Damien George
2014-08-30py: Change all uint to mp_uint_t in obj.h.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-31py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-07-01modffi: Add special 'C' code for passing a callback function pointer.Paul Sokolovsky
2014-06-29modffi: Support short types.Paul Sokolovsky
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-05-25Change const byte* to const char* where sensible.Damien George
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-26Add ARRAY_SIZE macro, and use it where possible.Damien George
2014-04-22unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues.Paul Sokolovsky
2014-04-22unix: OSError's args[0] should be errno numeric value.Paul Sokolovsky