summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-14 20:35:23 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-14 20:35:23 +0200
commit0e3ff1919603ee4c4a347fdf761dbdbdeb068015 (patch)
treedb3dc3df238da3a1c44116827796157cdd3346f0 /src/proto
parentb47bed2f7ada4dfae78f76f27473b83507e40315 (diff)
patch 8.2.2765: Vim9: not all blob operations workv8.2.2765
Problem: Vim9: not all blob operations work. Solution: Run more tests also with Vim9 script and :def functions. Fix what doesn't work.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/blob.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/blob.pro b/src/proto/blob.pro
index 7da269c35f..0b7cbd3a86 100644
--- a/src/proto/blob.pro
+++ b/src/proto/blob.pro
@@ -14,6 +14,8 @@ 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);
int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, typval_T *rettv);
+int check_blob_index(long bloblen, varnumber_T n1, int is_range, int quiet);
+int check_blob_range(long bloblen, varnumber_T n1, varnumber_T n2, int quiet);
int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src);
void blob_remove(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */