Mercurial > vim
view src/proto/hardcopy.pro @ 6773:eb4b705a5d6a v7.4.708
patch 7.4.708
Problem: gettext() is called too often.
Solution: Do not call gettext() for messages until they are actually used.
(idea by Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Apr 2015 16:49:05 +0200 |
parents | dd9842fb18dd |
children | 21b0a39d13ed |
line wrap: on
line source
/* hardcopy.c */ char_u *parse_printoptions __ARGS((void)); char_u *parse_printmbfont __ARGS((void)); int prt_header_height __ARGS((void)); int prt_use_number __ARGS((void)); int prt_get_unit __ARGS((int idx)); void ex_hardcopy __ARGS((exarg_T *eap)); void mch_print_cleanup __ARGS((void)); int mch_print_init __ARGS((prt_settings_T *psettings, char_u *jobname, int forceit)); int mch_print_begin __ARGS((prt_settings_T *psettings)); void mch_print_end __ARGS((prt_settings_T *psettings)); int mch_print_end_page __ARGS((void)); int mch_print_begin_page __ARGS((char_u *str)); int mch_print_blank_page __ARGS((void)); void mch_print_start_line __ARGS((int margin, int page_line)); int mch_print_text_out __ARGS((char_u *p, int len)); void mch_print_set_font __ARGS((int iBold, int iItalic, int iUnderline)); void mch_print_set_bg __ARGS((long_u bgcol)); void mch_print_set_fg __ARGS((long_u fgcol)); /* vim: set ft=c : */