]> git.eshelyaron.com Git - emacs.git/commit
Bindat: Document `sint`; add `le` arg to `uint`; deprecate `uintr`
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 11 Jun 2022 15:55:27 +0000 (11:55 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 11 Jun 2022 15:55:27 +0000 (11:55 -0400)
commit51def94e9c0ce81511ce1364c9adf2cd047a38bc
tree6069b254dec8f20279080ae803b755c4e0c271aa
parentb591a041e37f1a58d8a248f00b7adbf19ed4fa84
Bindat: Document `sint`; add `le` arg to `uint`; deprecate `uintr`

* lisp/emacs-lisp/bindat.el (bindat--type) <uint>: Add `le` optional arg.
(bindat--type) <uintr>: Delete method.
(uintr): Re-define as a bindat-macro instead.
(bindat-type): Update docstring accordingly.
(bindat--primitives): Update.
(sint): Simplify.

* doc/lispref/processes.texi (Bindat Types): Update `uint`, add `sint`,
and remove `uintr`.

* test/lisp/emacs-lisp/bindat-tests.el (data-bindat-spec): Use the new
`le` arg of `uint` instead of `uintr`.
doc/lispref/processes.texi
lisp/emacs-lisp/bindat.el
test/lisp/emacs-lisp/bindat-tests.el