comparison src/buffer.h @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 131b0175ea99
children ac0620f6398e
comparison
equal deleted inserted replaced
81:ebca3d831cea 82:6a378aca36af
1311 (stick_value_here) = (CONST Bufbyte *) __gcida_ptr_in__; \ 1311 (stick_value_here) = (CONST Bufbyte *) __gcida_ptr_in__; \
1312 (stick_len_here) = (Bytecount) __gcida_len_in__; \ 1312 (stick_len_here) = (Bytecount) __gcida_len_in__; \
1313 } \ 1313 } \
1314 else \ 1314 else \
1315 { \ 1315 { \
1316 (stick_value_here) = alloca (1 + __gcida_len_out__); \ 1316 (stick_value_here) = (CONST Extbyte *) alloca (1 + __gcida_len_out__); \
1317 memcpy ((Bufbyte *) stick_value_here, __gcida_ptr_out__, \ 1317 memcpy ((Bufbyte *) stick_value_here, __gcida_ptr_out__, \
1318 1 + __gcida_len_out__); \ 1318 1 + __gcida_len_out__); \
1319 (stick_len_here) = __gcida_len_out__; \ 1319 (stick_len_here) = __gcida_len_out__; \
1320 } \ 1320 } \
1321 } while (0) 1321 } while (0)
1385 struct Lisp_String *__gseda_s__ = XSTRING (s); \ 1385 struct Lisp_String *__gseda_s__ = XSTRING (s); \
1386 \ 1386 \
1387 __gseda_ptr__ = convert_to_external_format (string_data (__gseda_s__), \ 1387 __gseda_ptr__ = convert_to_external_format (string_data (__gseda_s__), \
1388 string_length (__gseda_s__), \ 1388 string_length (__gseda_s__), \
1389 &__gseda_len__, fmt); \ 1389 &__gseda_len__, fmt); \
1390 (stick_value_here) = alloca (1 + __gseda_len__); \ 1390 (stick_value_here) = (CONST Extbyte *) alloca (1 + __gseda_len__); \
1391 memcpy ((Extbyte *) stick_value_here, __gseda_ptr__, 1 + __gseda_len__); \ 1391 memcpy ((Extbyte *) stick_value_here, __gseda_ptr__, 1 + __gseda_len__); \
1392 (stick_len_here) = __gseda_len__; \ 1392 (stick_len_here) = __gseda_len__; \
1393 } while (0) 1393 } while (0)
1394 1394
1395 1395