X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/c872cc2f37f8e8f9bbf3911ad9e53ee51af07816..dc7a33fa871c42d0474602f3560d3ce350e1f1c3:/module/oop/goops/simple.scm diff --git a/module/oop/goops/simple.scm b/module/oop/goops/simple.scm index 48e76f312..fba4d4192 100644 --- a/module/oop/goops/simple.scm +++ b/module/oop/goops/simple.scm @@ -1,11 +1,11 @@ ;;; installed-scm-file -;;;; Copyright (C) 2005, 2006 Free Software Foundation, Inc. +;;;; Copyright (C) 2005, 2006, 2010, 2011 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 ;;;; License as published by the Free Software Foundation; either -;;;; version 2.1 of the License, or (at your option) any later version. +;;;; version 3 of the License, or (at your option) any later version. ;;;; ;;;; This library is distributed in the hope that it will be useful, ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,6 +23,8 @@ :export (define-class) :no-backtrace) -(define define-class define-class-with-accessors-keywords) +(define-syntax-rule (define-class arg ...) + (define-class-with-accessors-keywords arg ...)) -(module-use! %module-public-interface (resolve-interface '(oop goops))) +(module-use! (module-public-interface (current-module)) + (resolve-interface '(oop goops)))