aboutsummaryrefslogtreecommitdiffstats
path: root/src/ccl.c
diff options
context:
space:
mode:
authorKen Raeburn2002-07-15 00:01:34 +0000
committerKen Raeburn2002-07-15 00:01:34 +0000
commitd5db40779d7505244d37476b4f046641f07eea2b (patch)
tree5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/ccl.c
parent491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff)
downloademacs-d5db40779d7505244d37476b4f046641f07eea2b.tar.gz
emacs-d5db40779d7505244d37476b4f046641f07eea2b.zip
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
Diffstat (limited to 'src/ccl.c')
-rw-r--r--src/ccl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ccl.c b/src/ccl.c
index 18fcad40328..d85045252b8 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -2198,12 +2198,12 @@ See the documentation of `define-ccl-program' for the detail of CCL program. */
2198 if (ccl.ic < i && i < ccl.size) 2198 if (ccl.ic < i && i < ccl.size)
2199 ccl.ic = i; 2199 ccl.ic = i;
2200 } 2200 }
2201 outbufsize = STRING_BYTES (XSTRING (str)) * ccl.buf_magnification + 256; 2201 outbufsize = SBYTES (str) * ccl.buf_magnification + 256;
2202 outbuf = (char *) xmalloc (outbufsize); 2202 outbuf = (char *) xmalloc (outbufsize);
2203 ccl.last_block = NILP (contin); 2203 ccl.last_block = NILP (contin);
2204 ccl.multibyte = STRING_MULTIBYTE (str); 2204 ccl.multibyte = STRING_MULTIBYTE (str);
2205 produced = ccl_driver (&ccl, XSTRING (str)->data, outbuf, 2205 produced = ccl_driver (&ccl, SDATA (str), outbuf,
2206 STRING_BYTES (XSTRING (str)), outbufsize, (int *) 0); 2206 SBYTES (str), outbufsize, (int *) 0);
2207 for (i = 0; i < 8; i++) 2207 for (i = 0; i < 8; i++)
2208 XSET (AREF (status, i), Lisp_Int, ccl.reg[i]); 2208 XSET (AREF (status, i), Lisp_Int, ccl.reg[i]);
2209 XSETINT (AREF (status, 8), ccl.ic); 2209 XSETINT (AREF (status, 8), ccl.ic);