Function: comp-cstr-value-negation

comp-cstr-value-negation is a byte-compiled function defined in comp-cstr.el.gz.

Signature

(comp-cstr-value-negation DST SRC)

Documentation

Negate values in 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-value-negation (dst src)
  "Negate values in SRC setting the result in DST.
DST is returned."
  (with-comp-cstr-accessors
    (if (or (valset src) (range src))
        (setf (typeset dst) ()
              (valset dst) (valset src)
              (range dst) (range src)
              (neg dst) (not (neg src)))
      (setf (typeset dst) (typeset src)
            (valset dst) ()
            (range dst) ()))
    dst))