Function: bindat--make--cmacro

bindat--make--cmacro is a function defined in bindat.el.gz.

Signature

(bindat--make--cmacro CL-WHOLE &cl-quote &key LE UE PE)

Documentation

compiler-macro for bindat--make.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bindat.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((le (car (cdr (plist-member --cl-rest-- ':le))))
	(ue (car (cdr (plist-member --cl-rest-- ':ue))))
	(pe (car (cdr (plist-member --cl-rest-- ':pe)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--) '(:le :ue :pe :allow-other-keys))
	     (unless (cdr --cl-keys--)
	       (error "Missing argument for %s" (car --cl-keys--)))
	     (setq --cl-keys-- (cdr (cdr --cl-keys--))))
	    ((car (cdr (memq ':allow-other-keys --cl-rest--)))
	     (setq --cl-keys-- nil))
	    (t
	     (error "Keyword argument %s not one of (:le :ue :pe)"
		    (car --cl-keys--))))))
       (cl-block bindat--make--cmacro
	 (cl--defsubst-expand '(le ue pe)
			      '(cl-block bindat--make
				 (record 'bindat--type le ue pe))
			      nil cl-whole nil le ue pe)))))
  (t) nil
  "compiler-macro for `bindat--make'.\n\n(fn CL-WHOLE &cl-quote &key LE UE PE)"]