diff options
author | Armin Rigo <arigo@tunes.org> | 2017-09-27 09:38:15 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-09-27 09:38:15 +0200 |
commit | fd5d394a95feb8bedbbe7323a6045f5a9f00e0ec (patch) | |
tree | d8c7f9933a4d50395080aec0b765212b113401dc /c/cdlopen.c | |
parent | f172af3bf3252a62853ca64c1f08d92127f1989e (diff) | |
download | cffi-fd5d394a95feb8bedbbe7323a6045f5a9f00e0ec.tar.gz |
"char *" => "const char *" until Python 3.7 is happy
Diffstat (limited to 'c/cdlopen.c')
-rw-r--r-- | c/cdlopen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/cdlopen.c b/c/cdlopen.c index 032bd3f..d1e952f 100644 --- a/c/cdlopen.c +++ b/c/cdlopen.c @@ -1,6 +1,7 @@ /* ffi.dlopen() interface with dlopen()/dlsym()/dlclose() */ -static void *cdlopen_fetch(PyObject *libname, void *libhandle, char *symbol) +static void *cdlopen_fetch(PyObject *libname, void *libhandle, + const char *symbol) { void *address; |