1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00
Commit graph

6 commits

Author SHA1 Message Date
Floris Bruynooghe
08689b2a04 Add support for the callback in python/cffi
This uses one global event handler function on the C level, as
enforced by CFFI, and caters for registering a per-context event
handeler.  A simple fixture for doing this during tests is also
implemented.
2018-07-22 13:46:09 +02:00
Floris Bruynooghe
3aeec2202a Update python bindings to new headers naming
This fixes the python bindings build to work with the new layout of
the header files and new names.
2018-07-19 20:15:54 +02:00
Floris Bruynooghe
880071b161 Add proof-of-concept unittest
Doesn't do anything useful yet.
2018-06-10 12:22:28 +02:00
Floris Bruynooghe
942a974818 Add free definition 2018-01-06 22:30:46 +01:00
Floris Bruynooghe
9048a2dbab Build from the installed deltachat version
This cleans up the build somewhat:
- Move time_t declaration to _build.py
- Uses Python's distutils to invoke the "correct" compiler.  Or at
  least does not make this code responsible to picking a compiler
- Uses the compiler to find the installed header file, builds
  against this installed version.  Since linking will also be
  against this installed version this seems to make some sense.

This seems somewhat ugly though.
2018-01-04 23:10:40 +01:00
Floris Bruynooghe
b1261ed028 WIP: First stop towards python bindings
This is a very rough first stab at compiling CFFI Python bindings
for deltachat-core.
2018-01-04 21:00:14 +01:00