From mboxrd@z Thu Jan 1 00:00:00 1970 From: mdj@sourceware.cygnus.com To: guile-cvs@sourceware.cygnus.com Subject: guile/guile-oops goops.c Date: Sun, 12 Dec 1999 11:36:00 -0000 Message-id: <19991212193624.9055.qmail@sourceware.cygnus.com> X-SW-Source: 1999-q4/msg00132.html List-Id: CVSROOT: /cvs/guile Module name: guile Changes by: mdj@sourceware.cygnus.com 99/12/12 11:36:24 Modified files: guile-oops : goops.c Log message: * goops.c (set_slot_value_if_unbound): Removed. (slot_definition_using_name): New function. (get_slot_value, set_slot_value): Now takes a slot definition instead of name as third (fourth) arg. (get_slot_value_using_name, set_slot_value_using_name): Same signature as old versions of get/set_slot_value. (scm_sys_initialize_object): Use get/set_slot_value directly and using the slot definition so that initialization becomes O(n_slots) instead of O(n_slots^2). Initialization also becomes independent of slot naming.