{
unsigned char *src = coding->source + coding->consumed;
unsigned char *src_end = coding->source + coding->src_bytes;
- unsigned char *src_base, *surrogate_high_base;
+ unsigned char *src_base;
int *charbuf = coding->charbuf;
int *charbuf_end = charbuf + coding->charbuf_size;
int consumed_chars = 0, consumed_chars_base;
unsigned char *dst = coding->destination + coding->produced;
unsigned char *dst_end = coding->destination + coding->dst_bytes;
int safe_room = 8;
- unsigned char *adjusted_dst_end =dst_end - 8;
int produced_chars = 0;
Lisp_Object attrs, eol_type, charset_list;
int c;
Lisp_Object coding_system;
struct coding_system *coding;
{
- int id;
Lisp_Object attrs;
Lisp_Object eol_type;
Lisp_Object coding_type;
raw_text_coding_system (coding_system)
Lisp_Object coding_system;
{
- Lisp_Object spec, attrs, coding_type;
+ Lisp_Object spec, attrs;
Lisp_Object eol_type, raw_text_eol_type;
spec = CODING_SYSTEM_SPEC (coding_system);
if (VECTORP (eol_type))
{
Lisp_Object parent_spec;
- Lisp_Object parent_attrs;
Lisp_Object parent_eol_type;
parent_spec
unsigned char c;
int total = 0;
int eol_seen = EOL_SEEN_NONE;
- int first_eol_seen;
attrs = CODING_ID_ATTRS (coding->id);
coding_type = CODING_ATTR_TYPE (attrs);
struct coding_system *coding;
int eol_seen;
{
- Lisp_Object eol_type, coding_system;
+ Lisp_Object eol_type;
eol_type = CODING_ID_EOL_TYPE (coding->id);
if (eol_seen & EOL_SEEN_LF)
encode_coding (coding)
struct coding_system *coding;
{
- int error = 0;
Lisp_Object attrs;
attrs = CODING_ID_ATTRS (coding->id);
Lisp_Object attrs;
{
Lisp_Object tail;
- int id;
struct charset *charset;
for (tail = CODING_ATTR_CHARSET_LIST (attrs);
Lisp_Object string, coding_system;
int encodep;
{
- code_convert_string (string, coding_system, Qt, encodep, 0, 1);
+ return code_convert_string (string, coding_system, Qt, encodep, 0, 1);
}
{
Lisp_Object initial, reg_usage, request, flags;
struct charset *charset;
- int i, id, max_id = -1;
+ int i, id;
if (nargs < coding_arg_iso2022_max)
goto short_args;