summaryrefslogtreecommitdiff
path: root/test cases/python/10 extmodule limited api disabled/meson.build
blob: 42cd6186c4eadab33de728e64315dae327c69444 (plain)
1
2
3
4
5
6
7
8
9
10
project('Python limited api disabled', 'c',
  default_options : ['buildtype=release', 'werror=true', 'python.allow_limited_api=false'])

py_mod = import('python')
py = py_mod.find_installation()

module = py.extension_module('my_module',
  'module.c',
  limited_api: '3.7',
)