diff options
| author | Armin Rigo <arigo@tunes.org> | 2016-01-06 12:33:55 +0100 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2016-01-06 12:33:55 +0100 |
| commit | 1ff0a081b09ef810768280728dedee1c0ac7da0f (patch) | |
| tree | 278d95c15c5c16c31845891be128aeb6a92ab1d3 /doc/source/using.rst | |
| parent | fd0b009cb604d38b9cf9a4e14afcd5241f9bec5b (diff) | |
| download | cffi-1ff0a081b09ef810768280728dedee1c0ac7da0f.tar.gz | |
Add vararg demo
Diffstat (limited to 'doc/source/using.rst')
| -rw-r--r-- | doc/source/using.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/using.rst b/doc/source/using.rst index e45bb63..1c5430c 100644 --- a/doc/source/using.rst +++ b/doc/source/using.rst @@ -616,7 +616,10 @@ functions:: } The ``extern "Python"`` functions cannot be variadic for now. This -may be implemented in the future. +may be implemented in the future. (`This demo`__ shows how to do it +anyway, but it is a bit lengthy.) + +.. __: https://bitbucket.org/cffi/cffi/src/default/demo/extern_python_varargs.py Each corresponding Python callback function is defined with the ``@ffi.def_extern()`` decorator. Be careful when writing this |
