diff options
-rw-r--r-- | objcl.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -48,6 +48,13 @@ (objcl-invoke-class-method condition "name"))))) +(defgeneric objcl-eql (obj1 obj2)) +(defmethod objcl-eql ((obj1 c-pointer-wrapper) (obj2 c-pointer-wrapper)) + (pointer-eq (pointer-to obj1) (pointer-to obj2))) +(defmethod objcl-eql (obj1 obj2) + (eql obj1 obj2)) + + (defcunion obj-data-union (id-val :pointer) (class-val :pointer) |