Mercurial > vim
view src/proto/blob.pro @ 15466:435fcefd2c8e v8.1.0741
patch 8.1.0741: viminfo with Blob is not tested
commit https://github.com/vim/vim/commit/8c8b8bb56c724cc1bfc3d8520eec33f2d399697c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 13 17:48:04 2019 +0100
patch 8.1.0741: viminfo with Blob is not tested
Problem: Viminfo with Blob is not tested.
Solution: Extend the viminfo test. Fix reading a blob. Fixed storing a
special variable value.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jan 2019 18:00:05 +0100 |
parents | 1d2b5c016f17 |
children | c2382f0d1279 |
line wrap: on
line source
/* blob.c */ blob_T *blob_alloc(void); int rettv_blob_alloc(typval_T *rettv); void rettv_blob_set(typval_T *rettv, blob_T *b); void blob_free(blob_T *b); void blob_unref(blob_T *b); long blob_len(blob_T *b); char_u blob_get(blob_T *b, int idx); void blob_set(blob_T *b, int idx, char_u c); int blob_equal(blob_T *b1, blob_T *b2); int read_blob(FILE *fd, blob_T *blob); int write_blob(FILE *fd, blob_T *blob); char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); blob_T *string2blob(char_u *str); /* vim: set ft=c : */