From 4172cbd0fba77540490c370dda074f03ca4b9c33 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Fri, 12 Jul 2024 10:05:45 -0700 Subject: docs: mention cython_args in cython reference docs --- docs/markdown/Cython.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/markdown/Cython.md') diff --git a/docs/markdown/Cython.md b/docs/markdown/Cython.md index 304275043..1491dc4fc 100644 --- a/docs/markdown/Cython.md +++ b/docs/markdown/Cython.md @@ -32,6 +32,18 @@ py.extension_module( ) ``` +You can pass arguments accepted by the `cython` CLI script with the +`cython_args` argument: + +```meson +py.extension_module( + 'foo-bounds' + 'foo.pyx', + dependencies : dep_py, + cython_args : ['-Xboundscheck=False'], +) +``` + ## C++ intermediate support *(New in 0.60.0)* -- cgit v1.2.3