forked from aniani/vim
patch 8.1.0735: cannot handle binary data
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
This commit is contained in:
13
src/proto/blob.pro
Normal file
13
src/proto/blob.pro
Normal file
@@ -0,0 +1,13 @@
|
||||
/* 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);
|
||||
/* vim: set ft=c : */
|
Reference in New Issue
Block a user