1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python
Noel Power cbdd3d0c26 squash 'cast between incompatible function types' warning
To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2019-05-16 17:55:17 +00:00
..
examples PY3: change shebang to python3 in misc dirs 2018-12-14 18:00:40 +01:00
samba selftest: correcting empty attribute usage in requests 2019-05-06 05:45:55 +00:00
samba_external
modules.c python/modules: maintain correct refcount for path items 2019-01-29 13:45:32 +01:00
modules.h python: Create macro to hide ugly function signature cast 2019-05-16 17:55:16 +00:00
py3compat.h python: Add new compat PYARG_STR_UNI format 2019-01-13 00:40:26 +01:00
pyglue.c squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
wscript build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00