Changeset 11904


Ignore:
Timestamp:
Apr 8, 2009, 2:29:15 AM (11 years ago)
Author:
rme
Message:

Add @protocol macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/objc-bridge/objc-runtime.lisp

    r11620 r11904  
    111111(defun lookup-objc-protocol (name)
    112112  (values (gethash name *objc-protocols*)))
     113
     114(defmacro @protocol (name)
     115  `(objc-protocol-address (lookup-objc-protocol ,name)))
    113116
    114117(defun ensure-objc-classptr-resolved (classptr)
Note: See TracChangeset for help on using the changeset viewer.