diff options
| author | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-15 00:01:34 +0000 |
| commit | d5db40779d7505244d37476b4f046641f07eea2b (patch) | |
| tree | 5c8bf4dad41639287e722cb7cbdc0709e47a9e53 /src/ccl.c | |
| parent | 491c2516d32fa8b9ba9422ec142c8925dd82af00 (diff) | |
| download | emacs-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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); |