comparison src/macros.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents 989a7680c221
children 8f1ee2d15784
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
164 if (con->kbd_macro_ptr == XVECTOR_LENGTH (con->kbd_macro_builder)) 164 if (con->kbd_macro_ptr == XVECTOR_LENGTH (con->kbd_macro_builder))
165 { 165 {
166 int i; 166 int i;
167 int old_size = XVECTOR_LENGTH (con->kbd_macro_builder); 167 int old_size = XVECTOR_LENGTH (con->kbd_macro_builder);
168 int new_size = old_size * 2; 168 int new_size = old_size * 2;
169 Lisp_Object new = make_vector (new_size, Qnil); 169 Lisp_Object new_ = make_vector (new_size, Qnil);
170 for (i = 0; i < old_size; i++) 170 for (i = 0; i < old_size; i++)
171 XVECTOR_DATA (new) [i] = XVECTOR_DATA (con->kbd_macro_builder) [i]; 171 XVECTOR_DATA (new_) [i] = XVECTOR_DATA (con->kbd_macro_builder) [i];
172 con->kbd_macro_builder = new; 172 con->kbd_macro_builder = new_;
173 } 173 }
174 XVECTOR_DATA (con->kbd_macro_builder) [con->kbd_macro_ptr++] = 174 XVECTOR_DATA (con->kbd_macro_builder) [con->kbd_macro_ptr++] =
175 Fcopy_event (event, Qnil); 175 Fcopy_event (event, Qnil);
176 } 176 }
177 177