Mercurial > emacs
comparison src/config.in @ 20871:adb8a0943fc1
(RE_TRANSLATE_TYPE): Define as Lisp_Object.
(RE_TRANSLATE): Use Faref to examine translate table.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 08 Feb 1998 21:35:54 +0000 |
parents | 43c51bf05a49 |
children | 69bfc7fa462c |
comparison
equal
deleted
inserted
replaced
20870:3b8d9a7be50c | 20871:adb8a0943fc1 |
---|---|
345 #define SIGTYPE RETSIGTYPE | 345 #define SIGTYPE RETSIGTYPE |
346 #endif | 346 #endif |
347 | 347 |
348 #ifdef emacs /* Don't do this for lib-src. */ | 348 #ifdef emacs /* Don't do this for lib-src. */ |
349 /* Tell regex.c to use a type compatible with Emacs. */ | 349 /* Tell regex.c to use a type compatible with Emacs. */ |
350 #define RE_TRANSLATE_TYPE Lisp_Object * | 350 #define RE_TRANSLATE_TYPE Lisp_Object |
351 #define RE_TRANSLATE(TBL, C) XINT ((TBL)[C]) | 351 #define RE_TRANSLATE(TBL, C) XINT (Faref (TBL, make_number (C))) |
352 #endif | 352 #endif |
353 | 353 |
354 /* Avoid link-time collision with system mktime if we will use our own. */ | 354 /* Avoid link-time collision with system mktime if we will use our own. */ |
355 #if ! HAVE_MKTIME || BROKEN_MKTIME | 355 #if ! HAVE_MKTIME || BROKEN_MKTIME |
356 #define mktime emacs_mktime | 356 #define mktime emacs_mktime |