GNU bug report logs - #24932
[PATCH] Update module function signature

Previous Next

Package: emacs;

Reported by: Syohei YOSHIDA <syohex <at> gmail.com>

Date: Sun, 13 Nov 2016 02:09:02 UTC

Severity: minor

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24932: closed ([PATCH] Update module function signature)
Date: Mon, 28 Nov 2016 15:52:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 28 Nov 2016 07:51:04 -0800
with message-id <7c6bdba0-03bb-108b-49c1-893b18b57216 <at> cs.ucla.edu>
and subject line Re: [PATCH] Update module function signature
has caused the debbugs.gnu.org bug report #24932,
regarding [PATCH] Update module function signature
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24932: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24932
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Syohei YOSHIDA <syohex <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Syohei YOSHIDA <syohex <at> gmail.com>
Subject: [PATCH] Update module function signature
Date: Sun, 13 Nov 2016 11:06:18 +0900
Second argument of module function is ptrdiff_t, not int.
This fixes a compile warning.
---
 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 @@ 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");
 }
-- 
2.9.3



[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Syohei YOSHIDA <syohex <at> gmail.com>
Cc: 24932-done <at> debbugs.gnu.org
Subject: Re: [PATCH] Update module function signature
Date: Mon, 28 Nov 2016 07:51:04 -0800
Thanks for reporting the problem. I installed the fix and am closing the 
bug report.



This bug report was last modified 8 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.