diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-02-03 10:41:03 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-02-03 10:41:03 +0100 |
commit | 62933e138ce166f9b7901e8f783e4e17402d7aff (patch) | |
tree | 3c8c4ec5d49f4ef8abe894d9e03e4d55c7656a60 /Lisp/clozure-compat.lisp | |
parent | d24eda3f5a8093cd5e3316453f170de659c75586 (diff) |
Add system objective-cl-clozure-compat.
darcs-hash:118ca7e4268f77f7b9b9ab10c17200cebdd00ba9
Diffstat (limited to 'Lisp/clozure-compat.lisp')
-rw-r--r-- | Lisp/clozure-compat.lisp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Lisp/clozure-compat.lisp b/Lisp/clozure-compat.lisp new file mode 100644 index 0000000..8d6e2ea --- /dev/null +++ b/Lisp/clozure-compat.lisp @@ -0,0 +1,25 @@ +;;;; Objective-CL, an Objective-C bridge for Common Lisp. +;;;; Copyright (C) 2007 Matthias Andreas Benkard. +;;;; +;;;; This program 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 3 of +;;;; the License, or (at your option) any later version. +;;;; +;;;; This program is distributed in the hope that it will be useful, but +;;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;;; Lesser General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU Lesser General Public +;;;; License along with this program. If not, see +;;;; <http://www.gnu.org/licenses/>. + + +(let* ((package (find-package '#:objective-c-classes)) + (new-name '#:ns) + (new-nicknames (remove new-name + (remove-duplicates + (cons (package-name package) + (package-nicknames package)))))) + (rename-package package new-name new-nicknames)) |