diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2016-03-04 23:00:52 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2016-03-16 19:12:00 -0300 |
commit | 3e85aee48c62eff7c173fc9fbf648b558dfc2022 (patch) | |
tree | 3701137609cc8dd578cdbec2de7ed39da5da99a2 /runtime/syntax | |
parent | c94575fded78be1c9fca8b7d193c9bbb30a1dc95 (diff) | |
download | rneovim-3e85aee48c62eff7c173fc9fbf648b558dfc2022.tar.gz rneovim-3e85aee48c62eff7c173fc9fbf648b558dfc2022.tar.bz2 rneovim-3e85aee48c62eff7c173fc9fbf648b558dfc2022.zip |
Review of the memfile.c API and small refactorings
- Create `mf_free_fnames()` that frees and nullifies `mf_[f]fname`
- Create `mf_set_fnames()` to set the `mf_fname` and the `mf_ffname`
altoghether
- Have `mf_do_open` return a bool to indicate success so that calles
don't have to check `memfile_T::mf_fd` (file descriptor)
- Inline `mf_write_block`
Diffstat (limited to 'runtime/syntax')
0 files changed, 0 insertions, 0 deletions