changeset 91825:755365e1602a

Use AREF, not ASLOT.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Feb 2008 01:05:46 +0000
parents e452f8656da6
children 90d244118a64
files src/coding.h
diffstat 1 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Thu Feb 14 01:00:23 2008 +0000
+++ b/src/coding.h	Thu Feb 14 01:05:46 2008 +0000
@@ -161,23 +161,23 @@
 
 /* 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.  */