Mercurial > hg > xemacs-beta
diff src/console.c @ 5120:d1247f3cc363 ben-lisp-object
latest work on lisp-object workspace;
more changes eliminating LCRECORD in place of LISP_OBJECT;
now compiles and runs.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 28 Dec 2009 01:15:52 -0600 |
parents | e0db3c197671 |
children | 623d57b7fbe8 |
line wrap: on
line diff
--- a/src/console.c Sat Dec 26 21:22:48 2009 -0600 +++ b/src/console.c Mon Dec 28 01:15:52 2009 -0600 @@ -204,7 +204,7 @@ struct console *con = XCONSOLE (console); struct gcpro gcpro1; - COPY_LCRECORD (con, XCONSOLE (Vconsole_defaults)); + COPY_LISP_OBJECT (con, XCONSOLE (Vconsole_defaults)); GCPRO1 (console); @@ -668,7 +668,7 @@ static void nuke_all_console_slots (struct console *con, Lisp_Object zap) { - ZERO_LCRECORD (con); + ZERO_LISP_OBJECT (con); #define MARKED_SLOT(x) con->x = zap; #include "conslots.h" @@ -1327,8 +1327,7 @@ #define DEFVAR_CONSOLE_LOCAL_1(lname, field_name, forward_type, magic_fun) \ do { \ struct symbol_value_forward *I_hate_C = \ - alloc_lrecord_type (struct symbol_value_forward, \ - &lrecord_symbol_value_forward); \ + XSYMBOL_VALUE_FORWARD (ALLOC_LISP_OBJECT (symbol_value_forward)); \ /*mcpro ((Lisp_Object) I_hate_C);*/ \ \ I_hate_C->magic.value = &(console_local_flags.field_name); \