]> git.eshelyaron.com Git - emacs.git/commit
memory-report: support calculating size for structures
authorYikai Zhao <yikai@z1k.dev>
Thu, 2 Sep 2021 07:37:06 +0000 (09:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Sep 2021 07:37:06 +0000 (09:37 +0200)
commitd8d5dc45656233fdccc3709093a16e2562cd4a40
tree50c4932d2b6c6f9778ece51be56ffb3083bdae41
parent891be6f14065950465bf6e360013ceae0cb955bd
memory-report: support calculating size for structures

* lisp/emacs-lisp/memory-report.el (memory-report--object-size-1): Add
support for cl-defstruct types (bug#50301).
lisp/emacs-lisp/memory-report.el
test/lisp/emacs-lisp/memory-report-tests.el