Mercurial > vim
comparison src/if_mzsch.c @ 16451:7ae2396cef62 v8.1.1230
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
commit https://github.com/vim/vim/commit/afde13b62b8fa25dac4635d5caee8d088b937ee0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 28 19:46:49 2019 +0200
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Apr 2019 20:00:10 +0200 |
parents | cd5c83115ec6 |
children | ce04ebdf26b8 |
comparison
equal
deleted
inserted
replaced
16450:bf74bce807e8 | 16451:7ae2396cef62 |
---|---|
820 pascal void timer_proc(EventLoopTimerRef, void *); | 820 pascal void timer_proc(EventLoopTimerRef, void *); |
821 static EventLoopTimerRef timer_id = NULL; | 821 static EventLoopTimerRef timer_id = NULL; |
822 static EventLoopTimerUPP timerUPP; | 822 static EventLoopTimerUPP timerUPP; |
823 #endif | 823 #endif |
824 | 824 |
825 #ifndef FEAT_GUI_MSWIN /* Win32 console and Unix */ | 825 #if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL) /* Win32 console and Unix */ |
826 void | 826 void |
827 mzvim_check_threads(void) | 827 mzvim_check_threads(void) |
828 { | 828 { |
829 /* Last time MzScheme threads were scheduled */ | 829 /* Last time MzScheme threads were scheduled */ |
830 static time_t mz_last_time = 0; | 830 static time_t mz_last_time = 0; |
1773 return rval; | 1773 return rval; |
1774 case -1: | 1774 case -1: |
1775 case -2: | 1775 case -2: |
1776 MZ_GC_UNREG(); | 1776 MZ_GC_UNREG(); |
1777 raise_vim_exn(_("hidden option")); | 1777 raise_vim_exn(_("hidden option")); |
1778 /*NOTREACHED*/ | |
1778 case -3: | 1779 case -3: |
1779 MZ_GC_UNREG(); | 1780 MZ_GC_UNREG(); |
1780 raise_vim_exn(_("unknown option")); | 1781 raise_vim_exn(_("unknown option")); |
1782 /*NOTREACHED*/ | |
1781 } | 1783 } |
1782 /* unreachable */ | 1784 /* unreachable */ |
1783 return scheme_void; | 1785 return scheme_void; |
1784 } | 1786 } |
1785 | 1787 |