emacs-diffs
[Top][All Lists]
Advanced

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

feature/native-comp 2bc41e0 4/5: ; Ease ifdef navigation in native-comp


From: Andrea Corallo
Subject: feature/native-comp 2bc41e0 4/5: ; Ease ifdef navigation in native-comp files
Date: Mon, 25 May 2020 11:05:36 -0400 (EDT)

branch: feature/native-comp
commit 2bc41e0963275e77ca3627fbfd754fcc041405cb
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    ; Ease ifdef navigation in native-comp files
    
    * src/comp.c (syms_of_comp): Add a comment to ease #endif
    understading.
    
    * src/comp.h: Likewise.
---
 src/comp.c | 3 ++-
 src/comp.h | 7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/comp.c b/src/comp.c
index b4e3e2e..32a9817 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4722,7 +4722,8 @@ syms_of_comp (void)
               doc: /* Hash table symbol-name -> function-value.  For
                       internal use during  */);
   Vcomp_deferred_pending_h = CALLN (Fmake_hash_table, QCtest, Qeq);
-#endif
+
+#endif /* #ifdef HAVE_NATIVE_COMP */
 
   defsubr (&Snative_comp_available_p);
 }
diff --git a/src/comp.h b/src/comp.h
index c6f23dc..1f64a6d 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -100,7 +100,8 @@ extern void finish_delayed_disposal_of_comp_units (void);
 extern void dispose_all_remaining_comp_units (void);
 
 extern void clean_package_user_dir_of_old_comp_units (void);
-#else
+
+#else /* #ifdef HAVE_NATIVE_COMP */
 
 static inline void
 maybe_defer_native_compilation (Lisp_Object function_name,
@@ -127,6 +128,6 @@ static inline void
 finish_delayed_disposal_of_comp_units (void)
 {}
 
-#endif
+#endif /* #ifdef HAVE_NATIVE_COMP */
 
-#endif
+#endif /* #ifndef COMP_H */



reply via email to

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