Debian Codegraph @

test cases/python/10 extmodule limited api disabled/meson.build

raw
1 project('Python limited api disabled', 'c',
2 default_options : ['buildtype=release', 'werror=true', 'python.allow_limited_api=false'])
3
4 py_mod = import('python')
5 py = py_mod.find_installation()
6
7 module = py.extension_module('my_module',
8 'module.c',
9 limited_api: '3.7',
10 )