Mercurial > hg > xemacs-beta
comparison src/text.h @ 1449:e9929b7b37ad
[xemacs-hg @ 2003-05-03 01:55:35 by youngs]
2003-05-01 Andrew Begel <abegel@CS.Berkeley.EDU>
* text.h (IBYTE_STRING_TO_ALLOCA): Removed a stray backslash from
the preceding comment.
author | youngs |
---|---|
date | Sat, 03 May 2003 01:55:35 +0000 |
parents | 1b0339b048ce |
children | 64eaceca611d |
comparison
equal
deleted
inserted
replaced
1448:5b0af12cd2f1 | 1449:e9929b7b37ad |
---|---|
1095 Lisp_Object _lta_2 = (s); \ | 1095 Lisp_Object _lta_2 = (s); \ |
1096 *_lta_ = alloca_array (Ibyte, 1 + XSTRING_LENGTH (_lta_2)); \ | 1096 *_lta_ = alloca_array (Ibyte, 1 + XSTRING_LENGTH (_lta_2)); \ |
1097 memcpy (*_lta_, XSTRING_DATA (_lta_2), 1 + XSTRING_LENGTH (_lta_2)); \ | 1097 memcpy (*_lta_, XSTRING_DATA (_lta_2), 1 + XSTRING_LENGTH (_lta_2)); \ |
1098 } while (0) | 1098 } while (0) |
1099 | 1099 |
1100 /* Make an alloca'd copy of a Ibyte * */ \ | 1100 /* Make an alloca'd copy of a Ibyte * */ |
1101 #define IBYTE_STRING_TO_ALLOCA(p, lval) \ | 1101 #define IBYTE_STRING_TO_ALLOCA(p, lval) \ |
1102 do { \ | 1102 do { \ |
1103 Ibyte **_bsta_ = (Ibyte **) &(lval); \ | 1103 Ibyte **_bsta_ = (Ibyte **) &(lval); \ |
1104 const Ibyte *_bsta_2 = (p); \ | 1104 const Ibyte *_bsta_2 = (p); \ |
1105 Bytecount _bsta_3 = qxestrlen (_bsta_2); \ | 1105 Bytecount _bsta_3 = qxestrlen (_bsta_2); \ |