Mercurial > vim
view src/proto/blob.pro @ 15945:f0f8754e3bf5 v8.1.0978
patch 8.1.0978: blob not tested with Perl
commit https://github.com/vim/vim/commit/2472ae81dff8c30f5d63db8ad2c937deae8be646
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 23 15:04:17 2019 +0100
patch 8.1.0978: blob not tested with Perl
Problem: Blob not tested with Perl.
Solution: Add more test coverage. Fixes a crash. (Dominique Pelle,
closes #4037)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 23 Feb 2019 15:15:12 +0100 |
parents | 44ea60ca593b |
children | ef23ec1eee54 |
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); int blob_copy(typval_T *from, typval_T *to); void blob_free(blob_T *b); void blob_unref(blob_T *b); long blob_len(blob_T *b); int 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 : */