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