diff options
author | Armin Rigo <arigo@tunes.org> | 2017-03-11 14:07:25 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-03-11 14:07:25 +0100 |
commit | 13f56d02b7319b37862186422d7f1d4288108932 (patch) | |
tree | 00319a9acdd0eb570be6921c351654a5c1438217 | |
parent | 5886754bf619526890e94c8ca8354eaf4042ebda (diff) | |
download | cffi-13f56d02b7319b37862186422d7f1d4288108932.tar.gz |
tweaks
-rw-r--r-- | doc/source/embedding.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/embedding.rst b/doc/source/embedding.rst index f43be93..ba0fd3f 100644 --- a/doc/source/embedding.rst +++ b/doc/source/embedding.rst @@ -13,7 +13,7 @@ Possible use cases: * Exposing a library written in Python directly to C/C++ programs. -* Using Python to make a "plug-in" for an existing program that is +* Using Python to make a "plug-in" for an existing C/C++ program that is already written to load them. * Using Python to implement part of a larger C/C++ application (with @@ -118,6 +118,7 @@ here this slightly expanded example: """) ffibuilder.compile(target="plugin-1.5.*", verbose=True) + # or: ffibuilder.emit_c_code("my_plugin.c") Running the code above produces a *DLL*, i,e, a dynamically-loadable library. It is a file with the extension ``.dll`` on Windows, |