[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/igc a326d6aed81 03/10: Staticpro coding_categories
From: |
Gerd Moellmann |
Subject: |
scratch/igc a326d6aed81 03/10: Staticpro coding_categories |
Date: |
Tue, 30 Apr 2024 15:03:48 -0400 (EDT) |
branch: scratch/igc
commit a326d6aed816c19f66729a7ff77d90ef6bcec07c
Author: Helmut Eller <eller.helmut@gmail.com>
Commit: Gerd Möllmann <gerd@gnu.org>
Staticpro coding_categories
* src/coding.c (syms_of_coding):
---
src/coding.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/coding.c b/src/coding.c
index b21f2ecf00a..80f48f675d5 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -11848,6 +11848,16 @@ syms_of_coding (void)
Vcoding_category_table = make_nil_vector (coding_category_max);
staticpro (&Vcoding_category_table);
+ for (size_t i; i < ARRAYELTS (coding_categories); i++)
+ {
+ struct coding_system* cs = &coding_categories[i];
+ Lisp_Object *src = &cs->src_object;
+ *src = Qnil;
+ staticpro (src);
+ Lisp_Object *dst = &cs->dst_object;
+ *dst = Qnil;
+ staticpro (dst);
+ }
/* Followings are target of code detection. */
ASET (Vcoding_category_table, coding_category_iso_7,
intern_c_string ("coding-category-iso-7"));
- scratch/igc updated (fcc4141cd39 -> 5704133d120), Gerd Moellmann, 2024/04/30
- scratch/igc cc25039ac9d 04/10: Staticpro coding_categories only if HAVE_MPS, Gerd Moellmann, 2024/04/30
- scratch/igc 973dcb995f9 07/10: Staticpro cached_system_name, Gerd Moellmann, 2024/04/30
- scratch/igc a326d6aed81 03/10: Staticpro coding_categories,
Gerd Moellmann <=
- scratch/igc dc4d99d0918 01/10: Staticpro Vcharset_non_preferred_head, Gerd Moellmann, 2024/04/30
- scratch/igc 44100e5b081 02/10: Add missing #ifdef HAVE_MPS, Gerd Moellmann, 2024/04/30
- scratch/igc 4bf8e44fac2 09/10: Staticpro old_selected_frame, Gerd Moellmann, 2024/04/30
- scratch/igc 5704133d120 10/10: Fix a typo, Gerd Moellmann, 2024/04/30
- scratch/igc 17a192a1973 08/10: Staticpro cached_system_name only if HAVE_MPS, Gerd Moellmann, 2024/04/30
- scratch/igc 550fa1f6a6e 05/10: Staticpro space_glyph, Gerd Moellmann, 2024/04/30
- scratch/igc 212e40d4022 06/10: Staticpro space_glyph.object only if HAVE_MPS, Gerd Moellmann, 2024/04/30