comparison src/proto/buffer.pro @ 3839:8115f449a574 v7.3.677

updated for version 7.3.677 Problem: buf_spname() is used inconsistently. Solution: Make the return type a char_u pointer. Check the size of the returned string.
author Bram Moolenaar <bram@vim.org>
date Wed, 03 Oct 2012 18:25:00 +0200
parents 5aad2c444a00
children 23ce9a61bdc2
comparison
equal deleted inserted replaced
3838:949bd4cef950 3839:8115f449a574
49 void do_arg_all __ARGS((int count, int forceit, int keep_tabs)); 49 void do_arg_all __ARGS((int count, int forceit, int keep_tabs));
50 void ex_buffer_all __ARGS((exarg_T *eap)); 50 void ex_buffer_all __ARGS((exarg_T *eap));
51 void do_modelines __ARGS((int flags)); 51 void do_modelines __ARGS((int flags));
52 int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); 52 int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing));
53 void write_viminfo_bufferlist __ARGS((FILE *fp)); 53 void write_viminfo_bufferlist __ARGS((FILE *fp));
54 char *buf_spname __ARGS((buf_T *buf)); 54 char_u *buf_spname __ARGS((buf_T *buf));
55 void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); 55 void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr));
56 linenr_T buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); 56 linenr_T buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr));
57 int buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); 57 int buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type));
58 linenr_T buf_delsign __ARGS((buf_T *buf, int id)); 58 linenr_T buf_delsign __ARGS((buf_T *buf, int id));
59 int buf_findsign __ARGS((buf_T *buf, int id)); 59 int buf_findsign __ARGS((buf_T *buf, int id));