[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 82/87: Fix foreign objects for removal of getters-n-sett
From: |
Andy Wingo |
Subject: |
[Guile-commits] 82/87: Fix foreign objects for removal of getters-n-setters |
Date: |
Thu, 22 Jan 2015 17:30:27 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit 870b9e60415453164ac0d2560db3cf7e09024ca0
Author: Andy Wingo <address@hidden>
Date: Mon Jan 19 16:58:14 2015 +0100
Fix foreign objects for removal of getters-n-setters
* module/system/foreign-object.scm (getter-method): Fix for removal of
getters-n-setters property.
---
module/system/foreign-object.scm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/module/system/foreign-object.scm b/module/system/foreign-object.scm
index 319b0f4..b766df0 100644
--- a/module/system/foreign-object.scm
+++ b/module/system/foreign-object.scm
@@ -1,6 +1,6 @@
;;; Wrapping foreign objects in Scheme
-;;; Copyright (C) 2014 Free Software Foundation, Inc.
+;;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
;;;
;;; This library is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Lesser General Public
@@ -44,7 +44,7 @@
(define (getter-method class slot-name existing)
(let ((getter (ensure-generic existing slot-name))
- (slot-def (or (assq slot-name (slot-ref class 'getters-n-setters))
+ (slot-def (or (class-slot-definition class slot-name)
(slot-missing class slot-name))))
(add-method! getter (compute-getter-method class slot-def))
getter))
- [Guile-commits] 73/87: GOOPS: Deprecate "using-class" procs like slot-ref-using-class, (continued)
- [Guile-commits] 73/87: GOOPS: Deprecate "using-class" procs like slot-ref-using-class, Andy Wingo, 2015/01/22
- [Guile-commits] 80/87: Optimize %initialize-object, Andy Wingo, 2015/01/22
- [Guile-commits] 75/87: Beginnings of <slot> slot definition class, Andy Wingo, 2015/01/22
- [Guile-commits] 81/87: Minor GOOPS cleanups, Andy Wingo, 2015/01/22
- [Guile-commits] 79/87: Inline internal slot accessors, Andy Wingo, 2015/01/22
- [Guile-commits] 84/87: GOOPS cosmetics, Andy Wingo, 2015/01/22
- [Guile-commits] 77/87: Use a vtable bit to mark <slot> instances, Andy Wingo, 2015/01/22
- [Guile-commits] 87/87: tmp, Andy Wingo, 2015/01/22
- [Guile-commits] 78/87: Inline helpers into slot-ref, slot-set!, etc, Andy Wingo, 2015/01/22
- [Guile-commits] 83/87: Update (oop goops save) for <slot> objects, Andy Wingo, 2015/01/22
- [Guile-commits] 82/87: Fix foreign objects for removal of getters-n-setters,
Andy Wingo <=
- [Guile-commits] 85/87: Fast generic function dispatch without calling `compile' at runtime, Andy Wingo, 2015/01/22
- [Guile-commits] 76/87: Introduce <slot> objects in GOOPS, Andy Wingo, 2015/01/22
- [Guile-commits] 86/87: Simplify GOOPS effective method cache format, Andy Wingo, 2015/01/22