Mercurial > vim
comparison src/channel.c @ 15525:3ef31ce9d9f9 v8.1.0770
patch 8.1.0770: inconsistent use of ELAPSED_FUNC
commit https://github.com/vim/vim/commit/1ac56c2d11da5ffa44db23e1fd0c533d02ab2f66
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 22:28:22 2019 +0100
patch 8.1.0770: inconsistent use of ELAPSED_FUNC
Problem: Inconsistent use of ELAPSED_FUNC.
Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a
typedef. (Ozaki Kiichi, closes #3815)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 22:30:06 +0100 |
parents | 69207f77754a |
children | ba876ced4f1f |
comparison
equal
deleted
inserted
replaced
15524:c51e8d9f4384 | 15525:3ef31ce9d9f9 |
---|---|
4288 channel_T *channel = first_channel; | 4288 channel_T *channel = first_channel; |
4289 int ret = FALSE; | 4289 int ret = FALSE; |
4290 int r; | 4290 int r; |
4291 ch_part_T part = PART_SOCK; | 4291 ch_part_T part = PART_SOCK; |
4292 #ifdef ELAPSED_FUNC | 4292 #ifdef ELAPSED_FUNC |
4293 ELAPSED_TYPE start_tv; | 4293 elapsed_T start_tv; |
4294 | 4294 |
4295 ELAPSED_INIT(start_tv); | 4295 ELAPSED_INIT(start_tv); |
4296 #endif | 4296 #endif |
4297 | 4297 |
4298 ++safe_to_invoke_callback; | 4298 ++safe_to_invoke_callback; |