Function: comp-cstr-negation
comp-cstr-negation is a byte-compiled function defined in
comp-cstr.el.gz.
Signature
(comp-cstr-negation DST SRC)
Documentation
Negate SRC setting the result in DST.
DST is returned.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp-cstr.el.gz
(defun comp-cstr-negation (dst src)
"Negate SRC setting the result in DST.
DST is returned."
(with-comp-cstr-accessors
(cond
((and (null (valset src))
(null (range src))
(null (neg src))
(equal (typeset src) '(t)))
(setf (typeset dst) ()
(valset dst) ()
(range dst) nil
(neg dst) nil))
((and (null (valset src))
(null (range src))
(null (neg src))
(null (typeset src)))
(setf (typeset dst) '(t)
(valset dst) ()
(range dst) nil
(neg dst) nil))
(t
(comp-cstr-shallow-copy dst src)
(setf (neg dst) (not (neg src)))))
dst))