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.
This commit is contained in:
Paul Eggert 2016-11-28 07:48:50 -08:00
parent d020ff3eab
commit 1228055b32

View file

@ -154,7 +154,7 @@ def main():
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");
}