Mercurial > vim
view src/proto/blob.pro @ 15719:3f92851b9a57 v8.1.0867
patch 8.1.0867: cannot build Python interface with Python 2.4
commit https://github.com/vim/vim/commit/65951258d65b71581aeb117dbb7defa8a87ce38f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 1 22:10:16 2019 +0100
patch 8.1.0867: cannot build Python interface with Python 2.4
Problem: Cannot build Python interface with Python 2.4. (Tom G. Christensen)
Solution: Define PyBytes_FromStringAndSize. (Ken Takata, closes https://github.com/vim/vim/issues/3888)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Feb 2019 22: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 : */