Function: oclosure--fix-type

oclosure--fix-type is a byte-compiled function defined in oclosure.el.gz.

Signature

(oclosure--fix-type IGNORE OCLOSURE)

Documentation

Helper function to implement oclosure-lambda via a macro.

This is used as a marker which cconv uses to check that immutable fields are indeed not mutated.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/oclosure.el.gz
(defun oclosure--fix-type (_ignore oclosure)
  "Helper function to implement `oclosure-lambda' via a macro.
This is used as a marker which cconv uses to check that
immutable fields are indeed not mutated."
  (cl-assert (closurep oclosure))
  ;; This should happen only for interpreted closures since `cconv.el'
  ;; should have optimized away the call to this function.
  oclosure)