comparison src/device-tty.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 b5df3737028a
comparison
equal deleted inserted replaced
5119:d877c14318b3 5120:d1247f3cc363
56 56
57 static void 57 static void
58 allocate_tty_device_struct (struct device *d) 58 allocate_tty_device_struct (struct device *d)
59 { 59 {
60 #ifdef NEW_GC 60 #ifdef NEW_GC
61 d->device_data = alloc_lrecord_type (struct tty_device, &lrecord_tty_device); 61 d->device_data = XTTY_DEVICE (ALLOC_LISP_OBJECT (tty_device));
62 #else /* not NEW_GC */ 62 #else /* not NEW_GC */
63 d->device_data = xnew_and_zero (struct tty_device); 63 d->device_data = xnew_and_zero (struct tty_device);
64 #endif /* not NEW_GC */ 64 #endif /* not NEW_GC */
65 } 65 }
66 66