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:
parent
d020ff3eab
commit
1228055b32
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue