summaryrefslogtreecommitdiff
path: root/src/character.h
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-06-03 21:02:32 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-06-03 21:02:32 +0200
commitaa3830c49727fa443a11eaab9dedb404349c95e1 (patch)
tree3d33a06047a7f692aca841dd279a41890c8824df /src/character.h
parentd234d13e4bc3748665e8592fb13c6ee29671f709 (diff)
downloademacs-aa3830c49727fa443a11eaab9dedb404349c95e1.tar.gz
emacs-aa3830c49727fa443a11eaab9dedb404349c95e1.tar.bz2
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.h17
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/>. */
: 5)
-/* Return the length of the multi-byte form at string STR of length
- LEN while assuming that STR points a valid multi-byte form. As
- this macro isn't necessary anymore, all callers will be changed to
- use BYTES_BY_CHAR_HEAD directly in the future. */
-
-#define MULTIBYTE_FORM_LENGTH(str, len) \
- BYTES_BY_CHAR_HEAD (*(str))
-
-/* Parse multibyte string STR of length LENGTH and set BYTES to the
- byte length of a character at STR while assuming that STR points a
- valid multibyte form. As this macro isn't necessary anymore, all
- callers will be changed to use BYTES_BY_CHAR_HEAD directly in the
- future. */
-
-#define PARSE_MULTIBYTE_SEQ(str, length, bytes) \
- (bytes) = BYTES_BY_CHAR_HEAD (*(str))
-
/* The byte length of multibyte form at unibyte string P ending at
PEND. If STR doesn't point to a valid multibyte form, return 0. */