Commit 1228055b authored by Paul Eggert's avatar Paul Eggert

Fix template for module functions

Reported by Syohei YOSHIDA (Bug#24932).
* modules/ (TEMPLATES):
c_func’s 2nd arg is ptrdiff_t, not int.
parent d020ff3e
......@@ -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");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment