Mercurial > hg > xemacs-beta
view src/m/README @ 5261:69f687b3ba9d
Move #'replace to C, add bounds-checking to it and to #'fill.
2010-09-06 Aidan Kehoe <kehoea@parhasard.net>
Move #'replace to C; add bounds checking to it and to #'fill.
* fns.c (Fsubseq, Ffill, mapcarX):
Don't #'nreverse in #'subseq, use fill_string_range and check
bounds in #'fill, use replace_string_range() in #'map-into
avoiding quadratic time when modfiying the string.
* fns.c (check_sequence_range, fill_string_range)
(replace_string_range, replace_string_range_1, Freplace):
New functions; check that arguments fit sequence dimensions, fill
a string range with a given character, replace a string range from
an Ibyte pointer.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 06 Sep 2010 17:29:51 +0100 |
parents | 3ecd8885ac67 |
children |
line wrap: on
line source
This directory contains C header files containing machine-specific definitions. Each file describes a particular machine. The emacs configuration script edits ../config.h to include the appropriate one of these files, and then each emacs source file includes config.h. template.h is a generic template for machine descriptions; it describes the parameters a machine file can specify. General XEmacs Changes ---------------------- 1. Removed all code dealing with VALBITS and XSET*. These are handled differently in XEmacs. 2. Removed all defines of WORDS_BIGENDIAN. Now determined by configure. 3. Put #ifndef PURESIZE around all PURESIZE defines so that it can be overridden at configure time. 4. Removed all defines of NO_ARG_ARRAY. The arg-array hack is not done in XEmacs. (If you want to put it back, use configure -- autoconf has a check for this.) 5. Removed all defines of BITS_PER_INT, BITS_PER_LONG -- now determined by configure. See ../s/README for a list of other changes made to the FSF 19.30 configuration files for XEmacs.