Mercurial > vim
view src/proto/os_mac_conv.pro @ 7226:9b350a65138a v7.4.922
commit https://github.com/vim/vim/commit/1c2836e268ce930bca9ea1287d0d83e92ce1b3ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 10 21:05:48 2015 +0100
patch 7.4.922
Problem: Leaking memory with ":helpt {dir-not-exists}".
Solution: Free dirname. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Nov 2015 21:15:04 +0100 |
parents | b9740fb41986 |
children | 7fda54504fee |
line wrap: on
line source
/* os_mac_conv.c */ char_u *mac_string_convert __ARGS((char_u *ptr, int len, int *lenp, int fail_on_error, int from_enc, int to_enc, int *unconvlenp)); int macroman2enc __ARGS((char_u *ptr, long *sizep, long real_size)); int enc2macroman __ARGS((char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest, int *restlenp)); void mac_conv_init __ARGS((void)); void mac_conv_cleanup __ARGS((void)); char_u *mac_utf16_to_enc __ARGS((unsigned short *from, size_t fromLen, size_t *actualLen)); unsigned short *mac_enc_to_utf16 __ARGS((char_u *from, size_t fromLen, size_t *actualLen)); void * mac_enc_to_cfstring __ARGS((char_u *from, size_t fromLen)); char_u *mac_precompose_path __ARGS((char_u *decompPath, size_t decompLen, size_t *precompLen)); void mac_lang_init __ARGS((void)); /* vim: set ft=c : */