projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d020ff3
)
Fix template for module functions
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 28 Nov 2016 15:48:50 +0000
(07:48 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 28 Nov 2016 15:49:28 +0000
(07:49 -0800)
Reported by Syohei YOSHIDA (Bug#24932).
* modules/modhelp.py (TEMPLATES):
c_func’s 2nd arg is ptrdiff_t, not int.
modules/modhelp.py
patch
|
blob
|
history
diff --git
a/modules/modhelp.py
b/modules/modhelp.py
index 5d8f89b31bc1f0f4bd40137eca817b656d9093e2..445cb3b1d09655c67f1e792b5a95eb1e8db882f4 100755
(executable)
--- 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,
in
t nargs, emacs_value args[], void *data)
+${c_func} (emacs_env *env,
ptrdiff_
t nargs, emacs_value args[], void *data)
{
return env->intern (env, "t");
}