diff options
| author | Andrea Corallo | 2020-05-24 22:49:38 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-05-24 22:49:38 +0100 |
| commit | 2bc41e0963275e77ca3627fbfd754fcc041405cb (patch) | |
| tree | 0269fee078461b3b2987881958c7a186004ec0c9 /src | |
| parent | 0bba0e367b4b5378501de7c91838ea2de8b4af4a (diff) | |
| download | emacs-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.c | 3 | ||||
| -rw-r--r-- | src/comp.h | 7 |
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); | |||
| 100 | extern void dispose_all_remaining_comp_units (void); | 100 | extern void dispose_all_remaining_comp_units (void); |
| 101 | 101 | ||
| 102 | extern void clean_package_user_dir_of_old_comp_units (void); | 102 | extern void clean_package_user_dir_of_old_comp_units (void); |
| 103 | #else | 103 | |
| 104 | #else /* #ifdef HAVE_NATIVE_COMP */ | ||
| 104 | 105 | ||
| 105 | static inline void | 106 | static inline void |
| 106 | maybe_defer_native_compilation (Lisp_Object function_name, | 107 | maybe_defer_native_compilation (Lisp_Object function_name, |
| @@ -127,6 +128,6 @@ static inline void | |||
| 127 | finish_delayed_disposal_of_comp_units (void) | 128 | finish_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 */ |