Skip to content

Commit f8e2c2e

Browse files
committed
stop referring to 'build scripts'
1 parent 6df3f77 commit f8e2c2e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎doc/source/buildtool.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ To generate the source code for the C extension, you would run:
7575
7676
$ python -m cffi.buildtool exec-python _squared_build.py _squared.c
7777
78-
Many CFFI build scripts have an ``if __name__ == "__main__"`` section
78+
Many CFFI FFI definition scripts have an ``if __name__ == "__main__"`` section
7979
that triggers a compilation step. This is not needed for a
8080
``cffi.buildtool`` script, which does not generate compiled artifacts,
8181
only C source code. It is up to your build-backend of choice
8282
(e.g. meson-python) to run a C compiler and build compiled artifacts.
8383
If the script does have such a section it is harmless: the script is
8484
executed with ``__name__`` set to ``"cffi.buildtool"``, so the block is
85-
skipped and an existing build script works unchanged.
85+
skipped and an existing FFI definition script works unchanged.
8686

8787
If the :class:`cffi.FFI` is bound to a name other than ``ffibuilder``, pass
88-
``--ffi-var``. To make that concrete, let's say your build script creates an FFI
89-
object named ``make_ffi``::
88+
``--ffi-var``. To make that concrete, let's say your FFI definition script
89+
creates an FFI object named ``make_ffi``::
9090

9191
from cffi import FFI
9292

0 commit comments

Comments
 (0)