summaryrefslogtreecommitdiffstats
path: root/txr-embedded-arg.txr
Commit message (Collapse)AuthorAgeFilesLines
* save-exe: new function.Kaz Kylheku2019-02-171-32/+0
| | | | | | | | | | | | | | * lisplib.c (save_exe_instantiate, save_exe_set_entries): New static functions. (lisplib_init): Register auto-load of save-exe module, keyed to save-exe symbol. * share/txr/stdlib/save-exe.tl: New file. * txr.1: Removing txr-embedded-arg.txr documentation and documenting save-exe in its place. * txr-embedded-arg.txr: File removed.
* txr-embeded-arg utility: use FFI types and buffers.Kaz Kylheku2017-07-101-10/+7
| | | | | | | | * txr-embedded-arg.txr: Streamline the logic by using buffers and the FFI type (zarray 128 char) which converts between a null terminated buffer of 128 UTF-8 characters and a string. We get not only null termination, as before, but clean padding ith zeros up to the size of the 128 byte area.
* Use byte-oriented stream in binary editing utility.Kaz Kylheku2016-05-281-1/+2
| | | | | | | | * txr-embedded-arg.txr (stream-positioned-to-right-place): Call stream-set-prop to mark stream as byte oriented. This is for the sake of the MinGW port, where reading binary files with UTF-8 decoding can throw errors about unsupported Unicode characters (those beyond 0xFFFF).
* Provide the txr-embedded-arg.txr utility.Kaz Kylheku2016-05-251-0/+34
* txr-embedded-arg.txr: New file. * txr.1: Documented.