Function: make-comp-data-container--cmacro

make-comp-data-container--cmacro is a function defined in comp.el.gz.

Signature

(make-comp-data-container--cmacro CL-WHOLE &cl-quote &key L IDX)

Documentation

compiler-macro for inlining make-comp-data-container.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;; Closure converted to defun by helpful.
(defun make-comp-data-container--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-comp-data-container'.\n\n\\(fn CL-WHOLE &cl-quote &key L IDX)"
  (let*
      ((l
	(car
	 (cdr
	  (plist-member --cl-rest-- ':l))))
       (idx
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':idx)
	   '(nil
	     (make-hash-table :test 'comp-imm-equal-test)))))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:l :idx :allow-other-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 (:l :idx)"
		   (car --cl-keys--))))))
      (cl-block make-comp-data-container--cmacro
	(cl--defsubst-expand
	 '(l idx)
	 '(cl-block make-comp-data-container
	    (record 'comp-data-container l idx))
	 nil cl-whole nil l idx)))))