diff options
| author | Stefan Monnier | 2007-06-29 03:37:33 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-06-29 03:37:33 +0000 |
| commit | 8e50cc2df8df6f773422ab11805704eaa4bba016 (patch) | |
| tree | 5041fa64f3f1bc6d4ffd1465a88a40055b7b39ab /src/data.c | |
| parent | df2d551eba1af9966308bb70da6dd5f4e03b650e (diff) | |
| download | emacs-8e50cc2df8df6f773422ab11805704eaa4bba016.tar.gz emacs-8e50cc2df8df6f773422ab11805704eaa4bba016.zip | |
Replace uses of GC_* macros with the non-GC_ versions.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/data.c b/src/data.c index 32e5a6892aa..dd5bc0bcb21 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -115,7 +115,7 @@ wrong_type_argument (predicate, value) | |||
| 115 | { | 115 | { |
| 116 | /* If VALUE is not even a valid Lisp object, abort here | 116 | /* If VALUE is not even a valid Lisp object, abort here |
| 117 | where we can get a backtrace showing where it came from. */ | 117 | where we can get a backtrace showing where it came from. */ |
| 118 | if ((unsigned int) XGCTYPE (value) >= Lisp_Type_Limit) | 118 | if ((unsigned int) XTYPE (value) >= Lisp_Type_Limit) |
| 119 | abort (); | 119 | abort (); |
| 120 | 120 | ||
| 121 | xsignal2 (Qwrong_type_argument, predicate, value); | 121 | xsignal2 (Qwrong_type_argument, predicate, value); |
| @@ -187,7 +187,7 @@ for example, (type-of 1) returns `integer'. */) | |||
| 187 | (object) | 187 | (object) |
| 188 | Lisp_Object object; | 188 | Lisp_Object object; |
| 189 | { | 189 | { |
| 190 | switch (XGCTYPE (object)) | 190 | switch (XTYPE (object)) |
| 191 | { | 191 | { |
| 192 | case Lisp_Int: | 192 | case Lisp_Int: |
| 193 | return Qinteger; | 193 | return Qinteger; |
| @@ -214,25 +214,25 @@ for example, (type-of 1) returns `integer'. */) | |||
| 214 | abort (); | 214 | abort (); |
| 215 | 215 | ||
| 216 | case Lisp_Vectorlike: | 216 | case Lisp_Vectorlike: |
| 217 | if (GC_WINDOW_CONFIGURATIONP (object)) | 217 | if (WINDOW_CONFIGURATIONP (object)) |
| 218 | return Qwindow_configuration; | 218 | return Qwindow_configuration; |
| 219 | if (GC_PROCESSP (object)) | 219 | if (PROCESSP (object)) |
| 220 | return Qprocess; | 220 | return Qprocess; |
| 221 | if (GC_WINDOWP (object)) | 221 | if (WINDOWP (object)) |
| 222 | return Qwindow; | 222 | return Qwindow; |
| 223 | if (GC_SUBRP (object)) | 223 | if (SUBRP (object)) |
| 224 | return Qsubr; | 224 | return Qsubr; |
| 225 | if (GC_COMPILEDP (object)) | 225 | if (COMPILEDP (object)) |
| 226 | return Qcompiled_function; | 226 | return Qcompiled_function; |
| 227 | if (GC_BUFFERP (object)) | 227 | if (BUFFERP (object)) |
| 228 | return Qbuffer; | 228 | return Qbuffer; |
| 229 | if (GC_CHAR_TABLE_P (object)) | 229 | if (CHAR_TABLE_P (object)) |
| 230 | return Qchar_table; | 230 | return Qchar_table; |
| 231 | if (GC_BOOL_VECTOR_P (object)) | 231 | if (BOOL_VECTOR_P (object)) |
| 232 | return Qbool_vector; | 232 | return Qbool_vector; |
| 233 | if (GC_FRAMEP (object)) | 233 | if (FRAMEP (object)) |
| 234 | return Qframe; | 234 | return Qframe; |
| 235 | if (GC_HASH_TABLE_P (object)) | 235 | if (HASH_TABLE_P (object)) |
| 236 | return Qhash_table; | 236 | return Qhash_table; |
| 237 | return Qvector; | 237 | return Qvector; |
| 238 | 238 | ||