1 (in-package :cl-notify
)
3 (defmethod (setf hint
) (value (n notification
) key type
)
4 (let ((cobj (slot-value n
'c-object
)))
8 (notify-notification-set-hint-int32 cobj key value
))
11 (notify-notification-set-hint-double cobj key value
))
14 (notify-notification-set-hint-string cobj key value
))
17 (notify-notification-set-hint-byte cobj key value
))
20 (with-foreign-object (array :uchar
(length value
))
24 do
(setf (mem-aref array
:uchar i
) x
))
26 (notify-notification-set-hint-byte-array cobj key
27 array
(length value
)))))