Mercurial > vim
comparison src/proto/blob.pro @ 24434:602e528a8e43 v8.2.2757
patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Commit: https://github.com/vim/vim/commit/68452177ca4cda4a9d5f93892e437447cf9404c8
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 12 21:21:02 2021 +0200
patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separate
Problem: Vim9: blob tests for legacy and Vim9 script are separate.
Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 12 Apr 2021 21:30:04 +0200 |
parents | aa150abca273 |
children | 3e1886f1e875 |
comparison
equal
deleted
inserted
replaced
24433:a1e1e1eaa09b | 24434:602e528a8e43 |
---|---|
12 int read_blob(FILE *fd, blob_T *blob); | 12 int read_blob(FILE *fd, blob_T *blob); |
13 int write_blob(FILE *fd, blob_T *blob); | 13 int write_blob(FILE *fd, blob_T *blob); |
14 char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); | 14 char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); |
15 blob_T *string2blob(char_u *str); | 15 blob_T *string2blob(char_u *str); |
16 int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, typval_T *rettv); | 16 int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, typval_T *rettv); |
17 int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src); | |
17 void blob_remove(typval_T *argvars, typval_T *rettv); | 18 void blob_remove(typval_T *argvars, typval_T *rettv); |
18 /* vim: set ft=c : */ | 19 /* vim: set ft=c : */ |