diff options
| author | Juanma Barranquero | 2010-06-03 21:02:32 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-06-03 21:02:32 +0200 |
| commit | aa3830c49727fa443a11eaab9dedb404349c95e1 (patch) | |
| tree | 3d33a06047a7f692aca841dd279a41890c8824df /src/character.h | |
| parent | d234d13e4bc3748665e8592fb13c6ee29671f709 (diff) | |
| download | emacs-aa3830c49727fa443a11eaab9dedb404349c95e1.tar.gz emacs-aa3830c49727fa443a11eaab9dedb404349c95e1.zip | |
Remove obsolete pre-unicode2 macros.
* character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove.
* composite.c (composition_reseat_it):
* data.c (Faset):
* fns.c (Ffillarray):
* regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD.
[!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH.
Diffstat (limited to 'src/character.h')
| -rw-r--r-- | src/character.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/character.h b/src/character.h index 41f47e4b179..d5404a576ad 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -235,23 +235,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 235 | : 5) | 235 | : 5) |
| 236 | 236 | ||
| 237 | 237 | ||
| 238 | /* Return the length of the multi-byte form at string STR of length | ||
| 239 | LEN while assuming that STR points a valid multi-byte form. As | ||
| 240 | this macro isn't necessary anymore, all callers will be changed to | ||
| 241 | use BYTES_BY_CHAR_HEAD directly in the future. */ | ||
| 242 | |||
| 243 | #define MULTIBYTE_FORM_LENGTH(str, len) \ | ||
| 244 | BYTES_BY_CHAR_HEAD (*(str)) | ||
| 245 | |||
| 246 | /* Parse multibyte string STR of length LENGTH and set BYTES to the | ||
| 247 | byte length of a character at STR while assuming that STR points a | ||
| 248 | valid multibyte form. As this macro isn't necessary anymore, all | ||
| 249 | callers will be changed to use BYTES_BY_CHAR_HEAD directly in the | ||
| 250 | future. */ | ||
| 251 | |||
| 252 | #define PARSE_MULTIBYTE_SEQ(str, length, bytes) \ | ||
| 253 | (bytes) = BYTES_BY_CHAR_HEAD (*(str)) | ||
| 254 | |||
| 255 | /* The byte length of multibyte form at unibyte string P ending at | 238 | /* The byte length of multibyte form at unibyte string P ending at |
| 256 | PEND. If STR doesn't point to a valid multibyte form, return 0. */ | 239 | PEND. If STR doesn't point to a valid multibyte form, return 0. */ |
| 257 | 240 | ||