[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/insdel.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/insdel.c |
Date: |
Mon, 14 Oct 2002 21:18:45 -0400 |
Index: emacs/src/insdel.c
diff -c emacs/src/insdel.c:1.170 emacs/src/insdel.c:1.171
*** emacs/src/insdel.c:1.170 Tue Jul 16 11:49:24 2002
--- emacs/src/insdel.c Tue Jul 16 15:48:28 2002
***************
*** 654,660 ****
int
copy_text (from_addr, to_addr, nbytes,
from_multibyte, to_multibyte)
! unsigned char *from_addr;
unsigned char *to_addr;
int nbytes;
int from_multibyte, to_multibyte;
--- 654,660 ----
int
copy_text (from_addr, to_addr, nbytes,
from_multibyte, to_multibyte)
! const unsigned char *from_addr;
unsigned char *to_addr;
int nbytes;
int from_multibyte, to_multibyte;
***************
*** 723,729 ****
int
count_size_as_multibyte (ptr, nbytes)
! unsigned char *ptr;
int nbytes;
{
int i;
--- 723,729 ----
int
count_size_as_multibyte (ptr, nbytes)
! const unsigned char *ptr;
int nbytes;
{
int i;
***************
*** 755,761 ****
void
insert (string, nbytes)
! register unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
--- 755,761 ----
void
insert (string, nbytes)
! register const unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
***************
*** 771,777 ****
void
insert_and_inherit (string, nbytes)
! register unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
--- 771,777 ----
void
insert_and_inherit (string, nbytes)
! register const unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
***************
*** 807,813 ****
void
insert_string (s)
! char *s;
{
insert (s, strlen (s));
}
--- 807,813 ----
void
insert_string (s)
! const char *s;
{
insert (s, strlen (s));
}
***************
*** 819,825 ****
void
insert_before_markers (string, nbytes)
! unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
--- 819,825 ----
void
insert_before_markers (string, nbytes)
! const unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
***************
*** 836,842 ****
void
insert_before_markers_and_inherit (string, nbytes)
! unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
--- 836,842 ----
void
insert_before_markers_and_inherit (string, nbytes)
! const unsigned char *string;
register int nbytes;
{
if (nbytes > 0)
***************
*** 853,859 ****
void
insert_1 (string, nbytes, inherit, prepare, before_markers)
! register unsigned char *string;
register int nbytes;
int inherit, prepare, before_markers;
{
--- 853,859 ----
void
insert_1 (string, nbytes, inherit, prepare, before_markers)
! register const unsigned char *string;
register int nbytes;
int inherit, prepare, before_markers;
{
***************
*** 871,882 ****
int
count_combining_before (string, length, pos, pos_byte)
! unsigned char *string;
int length;
int pos, pos_byte;
{
int len, combining_bytes;
! unsigned char *p;
if (NILP (current_buffer->enable_multibyte_characters))
return 0;
--- 871,882 ----
int
count_combining_before (string, length, pos, pos_byte)
! const unsigned char *string;
int length;
int pos, pos_byte;
{
int len, combining_bytes;
! const unsigned char *p;
if (NILP (current_buffer->enable_multibyte_characters))
return 0;
***************
*** 918,924 ****
int
count_combining_after (string, length, pos, pos_byte)
! unsigned char *string;
int length;
int pos, pos_byte;
{
--- 918,924 ----
int
count_combining_after (string, length, pos, pos_byte)
! const unsigned char *string;
int length;
int pos, pos_byte;
{
***************
*** 984,990 ****
void
insert_1_both (string, nchars, nbytes, inherit, prepare, before_markers)
! register unsigned char *string;
register int nchars, nbytes;
int inherit, prepare, before_markers;
{
--- 984,990 ----
void
insert_1_both (string, nchars, nbytes, inherit, prepare, before_markers)
! register const unsigned char *string;
register int nchars, nbytes;
int inherit, prepare, before_markers;
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/insdel.c,
Kenichi Handa <=