Mercurial > hg > xemacs-beta
comparison modules/base64/base64.c @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | 3ecd8885ac67 |
children | 8661af9617f8 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
64 char_count = bits = cols = 0; | 64 char_count = bits = cols = 0; |
65 | 65 |
66 /* set up the in stream */ | 66 /* set up the in stream */ |
67 if (BUFFERP (object)) | 67 if (BUFFERP (object)) |
68 { | 68 { |
69 struct buffer *b = decode_buffer (object, 1); | 69 struct buffer *b = XBUFFER (object); |
70 Bufpos begv, endv; | 70 Bufpos begv, endv; |
71 /* Figure out where we need to get info from */ | 71 /* Figure out where we need to get info from */ |
72 get_buffer_range_char (b, start, end, &begv, &endv, GB_ALLOW_NIL); | 72 get_buffer_range_char (b, start, end, &begv, &endv, GB_ALLOW_NIL); |
73 | 73 |
74 instream = make_lisp_buffer_input_stream (b, begv, endv, 0); | 74 instream = make_lisp_buffer_input_stream (b, begv, endv, 0); |
254 char_count = bits = cols = hit_eof = 0; | 254 char_count = bits = cols = hit_eof = 0; |
255 | 255 |
256 /* set up the in stream */ | 256 /* set up the in stream */ |
257 if (BUFFERP (object)) | 257 if (BUFFERP (object)) |
258 { | 258 { |
259 struct buffer *b = decode_buffer (object, 1); | 259 struct buffer *b = XBUFFER (object); |
260 Bufpos begv, endv; | 260 Bufpos begv, endv; |
261 /* Figure out where we need to get info from */ | 261 /* Figure out where we need to get info from */ |
262 get_buffer_range_char (b, start, end, &begv, &endv, GB_ALLOW_NIL); | 262 get_buffer_range_char (b, start, end, &begv, &endv, GB_ALLOW_NIL); |
263 | 263 |
264 instream = make_lisp_buffer_input_stream (b, begv, endv, 0); | 264 instream = make_lisp_buffer_input_stream (b, begv, endv, 0); |