From 04e05596eb9f1f83aac22095d5e4420fa3ac0b09 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 14 Feb 2008 01:05:46 +0000 Subject: [PATCH] Use AREF, not ASLOT. --- src/coding.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/coding.h b/src/coding.h index eba77273308..dae16a9ea88 100644 --- a/src/coding.h +++ b/src/coding.h @@ -161,23 +161,23 @@ enum coding_attr_index /* Macros to access an element of an attribute vector. */ -#define CODING_ATTR_BASE_NAME(attrs) ASLOT (attrs, coding_attr_base_name) -#define CODING_ATTR_TYPE(attrs) ASLOT (attrs, coding_attr_type) -#define CODING_ATTR_CHARSET_LIST(attrs) ASLOT (attrs, coding_attr_charset_list) -#define CODING_ATTR_MNEMONIC(attrs) ASLOT (attrs, coding_attr_mnemonic) -#define CODING_ATTR_DOCSTRING(attrs) ASLOT (attrs, coding_attr_docstring) -#define CODING_ATTR_ASCII_COMPAT(attrs) ASLOT (attrs, coding_attr_ascii_compat) -#define CODING_ATTR_DECODE_TBL(attrs) ASLOT (attrs, coding_attr_decode_tbl) -#define CODING_ATTR_ENCODE_TBL(attrs) ASLOT (attrs, coding_attr_encode_tbl) -#define CODING_ATTR_TRANS_TBL(attrs) ASLOT (attrs, coding_attr_trans_tbl) -#define CODING_ATTR_POST_READ(attrs) ASLOT (attrs, coding_attr_post_read) -#define CODING_ATTR_PRE_WRITE(attrs) ASLOT (attrs, coding_attr_pre_write) -#define CODING_ATTR_DEFAULT_CHAR(attrs) ASLOT (attrs, coding_attr_default_char) -#define CODING_ATTR_FOR_UNIBYTE(attrs) ASLOT (attrs, coding_attr_for_unibyte) -#define CODING_ATTR_FLUSHING(attrs) ASLOT (attrs, coding_attr_flushing) -#define CODING_ATTR_PLIST(attrs) ASLOT (attrs, coding_attr_plist) -#define CODING_ATTR_CATEGORY(attrs) ASLOT (attrs, coding_attr_category) -#define CODING_ATTR_SAFE_CHARSETS(attrs)ASLOT (attrs, coding_attr_safe_charsets) +#define CODING_ATTR_BASE_NAME(attrs) AREF (attrs, coding_attr_base_name) +#define CODING_ATTR_TYPE(attrs) AREF (attrs, coding_attr_type) +#define CODING_ATTR_CHARSET_LIST(attrs) AREF (attrs, coding_attr_charset_list) +#define CODING_ATTR_MNEMONIC(attrs) AREF (attrs, coding_attr_mnemonic) +#define CODING_ATTR_DOCSTRING(attrs) AREF (attrs, coding_attr_docstring) +#define CODING_ATTR_ASCII_COMPAT(attrs) AREF (attrs, coding_attr_ascii_compat) +#define CODING_ATTR_DECODE_TBL(attrs) AREF (attrs, coding_attr_decode_tbl) +#define CODING_ATTR_ENCODE_TBL(attrs) AREF (attrs, coding_attr_encode_tbl) +#define CODING_ATTR_TRANS_TBL(attrs) AREF (attrs, coding_attr_trans_tbl) +#define CODING_ATTR_POST_READ(attrs) AREF (attrs, coding_attr_post_read) +#define CODING_ATTR_PRE_WRITE(attrs) AREF (attrs, coding_attr_pre_write) +#define CODING_ATTR_DEFAULT_CHAR(attrs) AREF (attrs, coding_attr_default_char) +#define CODING_ATTR_FOR_UNIBYTE(attrs) AREF (attrs, coding_attr_for_unibyte) +#define CODING_ATTR_FLUSHING(attrs) AREF (attrs, coding_attr_flushing) +#define CODING_ATTR_PLIST(attrs) AREF (attrs, coding_attr_plist) +#define CODING_ATTR_CATEGORY(attrs) AREF (attrs, coding_attr_category) +#define CODING_ATTR_SAFE_CHARSETS(attrs)AREF (attrs, coding_attr_safe_charsets) /* Return the name of a coding system specified by ID. */ -- 2.39.5