diff options
| author | Andrew McNulty <amcn102@gmail.com> | 2023-04-24 09:52:28 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-08-14 20:02:09 -0400 |
| commit | c7308076966c1c55bc117ce9f7a7f49ac96acfa6 (patch) | |
| tree | 826fcf546090c3a5155c1d730d34033563038d98 /test cases/python/9 extmodule limited api/test.json | |
| parent | 9d323020321893093492bc7d538c311c61398a1e (diff) | |
| download | meson-c7308076966c1c55bc117ce9f7a7f49ac96acfa6.tar.gz | |
Python: Add 'limited_api' kwarg to extension_module
This commit adds a new keyword arg to extension_module() that enables
a user to target the Python Limited API, declaring the version of the
limited API that they wish to target.
Two new unittests have been added to test this functionality.
Diffstat (limited to 'test cases/python/9 extmodule limited api/test.json')
| -rw-r--r-- | test cases/python/9 extmodule limited api/test.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/python/9 extmodule limited api/test.json b/test cases/python/9 extmodule limited api/test.json new file mode 100644 index 000000000..06a170623 --- /dev/null +++ b/test cases/python/9 extmodule limited api/test.json @@ -0,0 +1,8 @@ +{ + "installed": [ + {"type": "python_limited_lib", "file": "usr/@PYTHON_PLATLIB@/limited"}, + {"type": "py_limited_implib", "file": "usr/@PYTHON_PLATLIB@/limited"}, + {"type": "python_lib", "file": "usr/@PYTHON_PLATLIB@/not_limited"}, + {"type": "py_implib", "file": "usr/@PYTHON_PLATLIB@/not_limited"} + ] +} |
