neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

channel.h (646B)


      1 #pragma once
      2 
      3 #include <stdint.h>  // IWYU pragma: keep
      4 
      5 #include "nvim/api/private/defs.h"  // IWYU pragma: keep
      6 #include "nvim/event/defs.h"
      7 #include "nvim/macros_defs.h"
      8 #include "nvim/memory_defs.h"  // IWYU pragma: keep
      9 #include "nvim/msgpack_rpc/channel_defs.h"  // IWYU pragma: keep
     10 
     11 #define METHOD_MAXLEN 512
     12 
     13 /// HACK: os/input.c drains this queue immediately before blocking for input.
     14 ///       Events on this queue are async-safe, but they need the resolved state
     15 ///       of input_get(), so they are processed "just-in-time".
     16 EXTERN MultiQueue *ch_before_blocking_events INIT( = NULL);
     17 
     18 #include "msgpack_rpc/channel.h.generated.h"