Function: make-soap-namespace--cmacro

make-soap-namespace--cmacro is a function defined in soap-client.el.gz.

Signature

(make-soap-namespace--cmacro CL-WHOLE &cl-quote &key NAME ELEMENTS)

Documentation

compiler-macro for inlining make-soap-namespace.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
;; Closure converted to defun by helpful.
(defun make-soap-namespace--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-soap-namespace'.\n\n\\(fn CL-WHOLE &cl-quote &key NAME ELEMENTS)"
  (let*
      ((name
	(car
	 (cdr
	  (plist-member --cl-rest-- ':name))))
       (elements
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':elements)
	   '(nil
	     (make-hash-table :test 'equal)))))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:name :elements :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 (:name :elements)"
		   (car --cl-keys--))))))
      (cl-block make-soap-namespace--cmacro
	(cl--defsubst-expand
	 '(name elements)
	 '(cl-block make-soap-namespace
	    (record 'soap-namespace name elements))
	 nil cl-whole nil name elements)))))