diff options
author | Simon McVittie <smcv@collabora.com> | 2019-07-23 11:14:14 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2019-07-23 11:14:14 +0100 |
commit | b24fd92dcaac567568641df0490acac334dd94c9 (patch) | |
tree | cc4752787f25e0055c98c041a69d228fd2f6f0cf /examples | |
parent | d59f67d69256fdb88421934297ae20ff49356fb6 (diff) |
Silence -Wcast-function-type with gcc 8
Casting via void (*)(void) is the documented way to suppress this
warning. This is required because the CPython API treats function
pointers as generic, with flags to indicate different calling
conventions.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions