chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2fd1bb8
)
New function TYPE-EQUAL-P
author
espen
<espen>
Wed, 10 Dec 2008 02:40:18 +0000
(
02:40
+0000)
committer
espen
<espen>
Wed, 10 Dec 2008 02:40:18 +0000
(
02:40
+0000)
gffi/interface.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gffi/interface.lisp
b/gffi/interface.lisp
index 6b249a3feeb10a3442d7b7f876975f14fdcc5ca3..084ed47bd9a0e2ce6cbbbac9c1939414b05bd1ac 100644
(file)
--- a/
gffi/interface.lisp
+++ b/
gffi/interface.lisp
@@
-20,7
+20,7
@@
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;; $Id: interface.lisp,v 1.
9 2008-10-08 16:34:07
espen Exp $
+;; $Id: interface.lisp,v 1.
10 2008-12-10 02:40:18
espen Exp $
(in-package "GFFI")
(in-package "GFFI")
@@
-445,6
+445,8
@@
(defun type-expand-to (type form)
(error "~A can not be expanded to ~A" form type))))))
(expand form)))
(error "~A can not be expanded to ~A" form type))))))
(expand form)))
+(defun type-equal-p (type1 type2)
+ (and (subtypep type1 type2) (subtypep type2 type1)))
;;;; Type methods
;;;; Type methods