;; 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.
(nconc
(list :pname (signal-name-to-string
(most-specific-slot-value direct-slotds 'pname))
:readable (most-specific-slot-value direct-slotds 'readable)
:writable (most-specific-slot-value direct-slotds 'writable)
(nconc
(list :pname (signal-name-to-string
(most-specific-slot-value direct-slotds 'pname))
:readable (most-specific-slot-value direct-slotds 'readable)
:writable (most-specific-slot-value direct-slotds 'writable)
(type-number
(or
(find-type-number class-name)
(register-type class-name
(or (first gtype) (default-type-init-name class-name))))))
(type-number
(or
(find-type-number class-name)
(register-type class-name
(or (first gtype) (default-type-init-name class-name))))))
-(defmethod from-alien-form (location (class ginterface-class) &rest args)
- (declare (ignore class args))
- (from-alien-form location 'gobject))
+(define-type-method from-alien-form ((type ginterface) location)
+ (declare (ignore type))
+ (from-alien-form 'gobject location))
-(defmethod to-alien-form (instance (class ginterface-class) &rest args)
- (declare (ignore class args))
- (to-alien-form instance 'gobject))
+(define-type-method to-alien-form ((type ginterface) instance)
+ (declare (ignore type))
+ (to-alien-form 'gobject instance))