emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/xeft 315126c9ae 08/55: Fix noexcept error


From: ELPA Syncer
Subject: [elpa] externals/xeft 315126c9ae 08/55: Fix noexcept error
Date: Fri, 13 Jan 2023 23:58:36 -0500 (EST)

branch: externals/xeft
commit 315126c9ae1fe871850f8ebe5749dd59fba7110b
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Fix noexcept error
    
    * xeft-module.cc (Fxeft_reindex_file):
    (Fxeft_query_term):
---
 xeft-module.cc | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/xeft-module.cc b/xeft-module.cc
index 5fe53e3e4f..d13143bbc9 100644
--- a/xeft-module.cc
+++ b/xeft-module.cc
@@ -321,7 +321,7 @@ NILP (emacs_env *env, emacs_value val)
 
 typedef emacs_value (*emacs_subr) (emacs_env *env,
                                    ptrdiff_t nargs, emacs_value *args,
-                                   void *data) EMACS_NOEXCEPT;
+                                   void *data);
 
 static void
 define_function
@@ -352,7 +352,9 @@ static const char* xeft_reindex_file_doc =
 
 static emacs_value
 Fxeft_reindex_file
-(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data) {
+(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data)
+  EMACS_NOEXCEPT
+{
 
   // Decode arguments.
   emacs_value lisp_path = args[0];
@@ -440,7 +442,9 @@ static const char *xeft_query_term_doc =
 
 static emacs_value
 Fxeft_query_term
-(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data) {
+(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data)
+  EMACS_NOEXCEPT
+{
   // Decode arguments.
   emacs_value lisp_term = args[0];
   emacs_value lisp_dbpath = args[1];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]