aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2020-05-24 22:49:38 +0100
committerAndrea Corallo2020-05-24 22:49:38 +0100
commit2bc41e0963275e77ca3627fbfd754fcc041405cb (patch)
tree0269fee078461b3b2987881958c7a186004ec0c9 /src
parent0bba0e367b4b5378501de7c91838ea2de8b4af4a (diff)
downloademacs-2bc41e0963275e77ca3627fbfd754fcc041405cb.tar.gz
emacs-2bc41e0963275e77ca3627fbfd754fcc041405cb.zip
; Ease ifdef navigation in native-comp files
* src/comp.c (syms_of_comp): Add a comment to ease #endif understading. * src/comp.h: Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/comp.c3
-rw-r--r--src/comp.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/src/comp.c b/src/comp.c
index b4e3e2e887f..32a98173d53 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4722,7 +4722,8 @@ syms_of_comp (void)
4722 doc: /* Hash table symbol-name -> function-value. For 4722 doc: /* Hash table symbol-name -> function-value. For
4723 internal use during */); 4723 internal use during */);
4724 Vcomp_deferred_pending_h = CALLN (Fmake_hash_table, QCtest, Qeq); 4724 Vcomp_deferred_pending_h = CALLN (Fmake_hash_table, QCtest, Qeq);
4725#endif 4725
4726#endif /* #ifdef HAVE_NATIVE_COMP */
4726 4727
4727 defsubr (&Snative_comp_available_p); 4728 defsubr (&Snative_comp_available_p);
4728} 4729}
diff --git a/src/comp.h b/src/comp.h
index c6f23dc1468..1f64a6df550 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -100,7 +100,8 @@ extern void finish_delayed_disposal_of_comp_units (void);
100extern void dispose_all_remaining_comp_units (void); 100extern void dispose_all_remaining_comp_units (void);
101 101
102extern void clean_package_user_dir_of_old_comp_units (void); 102extern void clean_package_user_dir_of_old_comp_units (void);
103#else 103
104#else /* #ifdef HAVE_NATIVE_COMP */
104 105
105static inline void 106static inline void
106maybe_defer_native_compilation (Lisp_Object function_name, 107maybe_defer_native_compilation (Lisp_Object function_name,
@@ -127,6 +128,6 @@ static inline void
127finish_delayed_disposal_of_comp_units (void) 128finish_delayed_disposal_of_comp_units (void)
128{} 129{}
129 130
130#endif 131#endif /* #ifdef HAVE_NATIVE_COMP */
131 132
132#endif 133#endif /* #ifndef COMP_H */