]> git.eshelyaron.com Git - emacs.git/commit
Bindat (src, strz): Operate on vectors too
authorNacho Barrientos <nacho.barrientos@cern.ch>
Thu, 20 Oct 2022 12:16:43 +0000 (14:16 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 21 Oct 2022 15:26:36 +0000 (11:26 -0400)
commit40a361fbd600cba00f97e853112534626f10c654
tree0ebb0c275e9a7de0e4b8f6dc7a66355b8f6f9a78
parent693443bbf7d87e5508fe109f35d81e064400f3db
Bindat (src, strz): Operate on vectors too

Copyright-paperwork-exempt: yes

* lisp/emacs-lisp/bindat.el (bindat--unpack-str, bindat--unpack-strz):
Fix the non-string case.
* test/lisp/emacs-lisp/bindat-tests.el (bindat-test--strz-array-unpack)
(bindat-test--str-simple-array-unpack,bindat-test--str-combined-array-unpack):
New tests.
lisp/emacs-lisp/bindat.el
test/lisp/emacs-lisp/bindat-tests.el