]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/bindat.el: Allow non-fixed size of `strz`
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Apr 2021 15:27:52 +0000 (11:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Apr 2021 15:28:06 +0000 (11:28 -0400)
commit0c3ce42c8f12f1865a3327448bc58f472f153bf9
tree6641c458249f3900adc64b4b0e33a8b56aad1d91
parent7893945cc8f9421d0be5b07b9ed404bdf25ce140
* lisp/emacs-lisp/bindat.el: Allow non-fixed size of `strz`

(bindat--unpack-strz): Allow `len` to be nil.
(bindat--pack-strz): New function.
(bindat--type) <strz>: Make `len` arg optional.
(bindat-type): Adjust debug spec and docstring accordingly.

* doc/lispref/processes.texi (Bindat Types): Adjust accordingly.
doc/lispref/processes.texi
lisp/emacs-lisp/bindat.el