[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1228055: Fix template for module functions
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 1228055: Fix template for module functions |
Date: |
Mon, 28 Nov 2016 15:49:32 +0000 (UTC) |
branch: master
commit 1228055b320dbed92ab400c4a95813a2b8023909
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
modules/modhelp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/modhelp.py b/modules/modhelp.py
index 5d8f89b..445cb3b 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");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1228055: Fix template for module functions,
Paul Eggert <=