Basic constructor macro for unicode-input-char structures.
(make-unicode-input-char [:unicode <unicode>] [:umarker <umarker>])
This is the usual way to construct unicode-input-char structures. It simply conses together a structure with the specified fields.
This macro generates a new unicode-input-char structure from scratch. See also change-unicode-input-char, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-unicode-input-char (&rest args) (std::make-aggregate 'unicode-input-char args '((:unicode) (:umarker)) 'make-unicode-input-char nil))
Function:
(defun unicode-input-char (unicode umarker) (declare (xargs :guard (and (unicodep unicode) (natp umarker)))) (declare (xargs :guard t)) (let ((__function__ 'unicode-input-char)) (declare (ignorable __function__)) (b* ((unicode (mbe :logic (unicode-fix unicode) :exec unicode)) (umarker (mbe :logic (nfix umarker) :exec umarker))) (cons :unicode-input-char (list unicode umarker)))))