[pypy-commit] cffi default: tweaks

arigo pypy.commits at gmail.com
Sat Mar 11 08:07:55 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2902:e777d7ed61bc
Date: 2017-03-11 14:07 +0100
http://bitbucket.org/cffi/cffi/changeset/e777d7ed61bc/

Log:	tweaks

diff --git a/doc/source/embedding.rst b/doc/source/embedding.rst
--- a/doc/source/embedding.rst
+++ b/doc/source/embedding.rst
@@ -13,7 +13,7 @@
 
 * 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 @@
     """)
 
     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,


More information about the pypy-commit mailing list