comparison modules/base64/base64.c @ 754:8661af9617f8

[xemacs-hg @ 2002-02-15 20:57:56 by wmperry] update Bufpos => Charbpos
author wmperry
date Fri, 15 Feb 2002 20:57:58 +0000
parents 576fb035e263
children 0ac12485616c
comparison
equal deleted inserted replaced
753:41528f633ff7 754:8661af9617f8
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 = XBUFFER (object); 69 struct buffer *b = XBUFFER (object);
70 Bufpos begv, endv; 70 Charbpos 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);
75 } 75 }
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 = XBUFFER (object); 259 struct buffer *b = XBUFFER (object);
260 Bufpos begv, endv; 260 Charbpos 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);
265 } 265 }