Mercurial > vim
comparison src/feature.h @ 8577:63dc856bd13d v7.4.1578
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 15 23:10:59 2016 +0100
patch 7.4.1578
Problem: There is no way to invoke a function later or periodically.
Solution: Add timer support.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 Mar 2016 23:15:05 +0100 |
parents | caed4b2d305f |
children | 24b43dd167eb |
comparison
equal
deleted
inserted
replaced
8576:3fd90fff8ab5 | 8577:63dc856bd13d |
---|---|
395 #if defined(FEAT_NORMAL) \ | 395 #if defined(FEAT_NORMAL) \ |
396 && defined(FEAT_EVAL) \ | 396 && defined(FEAT_EVAL) \ |
397 && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ | 397 && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ |
398 || defined(WIN3264)) | 398 || defined(WIN3264)) |
399 # define FEAT_RELTIME | 399 # define FEAT_RELTIME |
400 #endif | |
401 | |
402 /* | |
403 * +timers timer_start() | |
404 */ | |
405 #if defined(FEAT_RELTIME) && (defined(UNIX) || defined(WIN32)) | |
406 # define FEAT_TIMERS | |
400 #endif | 407 #endif |
401 | 408 |
402 /* | 409 /* |
403 * +textobjects Text objects: "vaw", "das", etc. | 410 * +textobjects Text objects: "vaw", "das", etc. |
404 */ | 411 */ |