summaryrefslogtreecommitdiff
path: root/demo
Commit message (Collapse)AuthorAgeFilesLines
* tweaksArmin Rigo2017-05-291-1/+1
|
* $ORIGIN is better than .Armin Rigo2016-09-241-1/+2
|
* Document inline the various options to compile with embeddingArmin Rigo2016-09-241-1/+24
|
* Rename 'ffi' to 'ffibuilder' in the docs and in a few demos, whenArmin Rigo2016-06-055-26/+14
| | | | | | it is used in out-of-line builders. I think it makes things clearer, particularly in examples where the two 'ffi' are close together (and even sometimes used in the same sentence...)
* With ffi.compile(verbose=True), also print the name of the C (or Python)Armin Rigo2016-03-291-2/+1
| | | | file being generated
* hg merge defaultArmin Rigo2016-01-122-0/+40
|\
| * Maybe it's clearer this way, with an API that matches the intent ratherArmin Rigo2016-01-091-5/+3
| | | | | | | | than how the implementation piggy-backs on ``extern "Python"``
| * in-progress: work work work to port this to Python 3Armin Rigo2016-01-082-3/+3
| |
| * Fix ffi.compile() to automatically link with the python libraryArmin Rigo2016-01-071-8/+2
| |
| * Stop running the embedding_init_code() code as if it was part of theArmin Rigo2016-01-071-0/+1
| | | | | | | | | | | | | | extension module. Instead, be explicit and require a "from xx import ffi" line. This is clearer because it is the same line needed at the start of other modules, if the logic becomes too large for this single triple-quoted string.
| * possibly clarify example by using the syntax that allows naturallyArmin Rigo2016-01-031-1/+3
| | | | | | | | to write a bunch of functions
| * updatesArmin Rigo2016-01-022-5/+8
| |
| * fixfixfixfixArmin Rigo2015-12-051-0/+2
| |
| * in-progressArmin Rigo2015-12-051-2/+0
| |
| * Carefully craft the setup logic to handle multiple threads andArmin Rigo2015-12-012-0/+4
| | | | | | | | | | reentrancy. This should ideally be tested (as usual multithreading is a mess to test, but still).
| * First versionArmin Rigo2015-12-012-2/+2
| |
| * Trying out this way for nowArmin Rigo2015-12-011-2/+4
| |
| * "embedding" mode, where we produce a .so with the given C APIArmin Rigo2015-11-302-0/+36
| | | | | | | | usable from a non-Python-aware program
* | hg merge demo-cleanupArmin Rigo2016-01-072-0/+87
|\ \ | | | | | | | | | Thanks Matti :-)
| * | Add vararg demoArmin Rigo2016-01-061-0/+61
| |/
| * meh, fix demoArmin Rigo2015-11-201-1/+1
| |
| * Change the docs to use extern "Python" as discussed yesterday on ircArmin Rigo2015-11-182-29/+26
| | | | | | | | (thanks antocuni)
| * Add a minimal demo of CFFI_CALL_PYTHONArmin Rigo2015-11-161-0/+29
| |
* | tweaksArmin Rigo2016-01-072-10/+3
| |
* | tweaksArmin Rigo2016-01-072-8/+4
| |
* | tweaksArmin Rigo2016-01-072-9/+3
| |
* | tweaksArmin Rigo2016-01-072-14/+3
| |
* | tweaksArmin Rigo2016-01-072-9/+5
| |
* | fix the demoArmin Rigo2016-01-071-10/+10
| |
* | just killing the verify() line is not enoughArmin Rigo2016-01-071-1/+8
| |
* | fix demomattip2015-11-241-1/+1
| |
* | update and cleanup more demosmattip2015-11-246-55/+110
| |
* | fix commentmattip2015-11-241-1/+1
| |
* | update gmp demomattip2015-11-246-29/+57
| |
* | split the demo into two filesmattip2015-11-242-29/+32
| |
* | fix one demo for verify -> set_source, compilemattip2015-11-241-28/+36
|/
* Use '...' hereArmin Rigo2015-05-301-2/+2
|
* Last TODO item: setuptools on out-of-line ABI-mode modulesArmin Rigo2015-05-171-0/+11
|
* Use execfile() to load the build script from setuptools_ext, insteadArmin Rigo2015-05-173-5/+3
| | | | of importing it the usual way.
* Best-effort attempt at supporting C++. There is still one issue shownArmin Rigo2015-05-171-1/+3
| | | | in test_recompiler if we replace "if 0:" with "if 1:".
* Bump the internal version numberArmin Rigo2015-05-162-6/+3
|
* Modernize this dlopen() demoArmin Rigo2015-05-162-30/+39
|
* the big Moving Files Around stepArmin Rigo2015-05-123-0/+208
|
* Add ffi.distutils_extension() and adapt a demo to show theArmin Rigo2015-05-021-7/+3
| | | | non-setuptools way
* tweaks tweaksArmin Rigo2015-04-303-6/+6
|
* Python 3 compatible code in these demosArmin Rigo2015-04-292-12/+12
|
* A demo using ffi.include() --- which doesn't work right nowArmin Rigo2015-04-292-0/+69
|
* Change the other two demos to the ffi.set_source() style tooArmin Rigo2015-04-294-4/+34
|
* Add the setup.py corresponding to the demoArmin Rigo2015-04-291-21/+12
|
* first attempt at writing setuptools hooksArmin Rigo2015-04-291-2/+4
|