diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-28 07:48:50 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-28 07:49:28 -0800 |
commit | 1228055b320dbed92ab400c4a95813a2b8023909 (patch) | |
tree | daa3f37a4e7a833c3d1a64f7d9b8d30a0abf663c /modules/modhelp.py | |
parent | d020ff3eab01f9683485b35c0fc8b17708e9a6d1 (diff) | |
download | emacs-1228055b320dbed92ab400c4a95813a2b8023909.tar.gz |
Fix template for module functions
Reported by Syohei YOSHIDA (Bug#24932).
* modules/modhelp.py (TEMPLATES):
c_func’s 2nd arg is ptrdiff_t, not int.
Diffstat (limited to 'modules/modhelp.py')
-rwxr-xr-x | modules/modhelp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/modhelp.py b/modules/modhelp.py index 5d8f89b31bc..445cb3b1d09 100755 --- a/modules/modhelp.py +++ b/modules/modhelp.py @@ -154,7 +154,7 @@ all: ${module}.so ${module}.doc int plugin_is_GPL_compatible; static emacs_value -${c_func} (emacs_env *env, int nargs, emacs_value args[], void *data) +${c_func} (emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data) { return env->intern (env, "t"); } |