diff options
author | Armin Rigo <arigo@tunes.org> | 2015-12-01 18:07:38 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2015-12-01 18:07:38 +0100 |
commit | b2e9819ad7f48dc873583457f28ea3bdccdb2392 (patch) | |
tree | 072e1fd6b9c5a6bf9a933d9de98ab7b45d2075ed /demo | |
parent | b36d4109c4e66e59bdef6318aedc55632306612b (diff) | |
download | cffi-b2e9819ad7f48dc873583457f28ea3bdccdb2392.tar.gz |
First version
Diffstat (limited to 'demo')
-rw-r--r-- | demo/embedding.py | 2 | ||||
-rw-r--r-- | demo/embedding_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demo/embedding.py b/demo/embedding.py index cdfbcdb..08e0a7c 100644 --- a/demo/embedding.py +++ b/demo/embedding.py @@ -15,7 +15,7 @@ ffi.embedding_init_code(""" return x + y """) -ffi.set_source("libembedding_test", """ +ffi.set_source("_embedding_cffi", """ """) ffi.compile() diff --git a/demo/embedding_test.c b/demo/embedding_test.c index 39c6e26..9f9a874 100644 --- a/demo/embedding_test.c +++ b/demo/embedding_test.c @@ -1,7 +1,7 @@ /* Link this program with libembedding_test.so. E.g. with gcc: - gcc -o embedding_test embedding_test.c -L. -lembedding_test + gcc -o embedding_test embedding_test.c _embedding_cffi.so -lpython2.7 */ #include <stdio.h> |