Function: avl-tree--cmpfun

avl-tree--cmpfun is a byte-compiled function defined in avl-tree.el.gz.

Signature

(avl-tree--cmpfun avl-tree--cmpfun X)

Documentation

Access slot "cmpfun" of avl-tree- struct X.

Aliases

avl-tree-compare-function

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/avl-tree.el.gz
;; ================================================================
;;; Internal functions and macros for use in the AVL tree package


;; ----------------------------------------------------------------
;; Functions and macros handling an AVL tree.

(cl-defstruct (avl-tree-
            ;; A tagged list is the pre-defstruct representation.
            ;; (:type list)
            :named
            (:constructor nil)
            (:constructor avl-tree--create (cmpfun))
            (:predicate avl-tree-p)
            (:copier nil))
  (dummyroot (avl-tree--node-create nil nil nil 0))
  cmpfun)