Mercurial > vim
view src/proto/hardcopy.pro @ 7277:6600871bb38c v7.4.944
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 29 17:35:35 2015 +0100
patch 7.4.944
Problem: Writing tests for Vim script is hard.
Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
the v:errors variable. Add the runtest script. Add a first new
style test script.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Nov 2015 17:45:04 +0100 |
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 : */