aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/context.h
blob: 336bd43b052c7182b68fa0c12ea98ecbce146829 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <stddef.h>  // IWYU pragma: keep
#include <stdint.h>

#include "nvim/context_defs.h"  // IWYU pragma: export
#include "nvim/macros_defs.h"

/// Pool of temporary scratch windows (fka "autocmd windows"), for ctx_switch().
EXTERN kvec_t(CtxWin) ctx_win_vec INIT( = KV_INITIAL_VALUE);
#define ctx_win (ctx_win_vec.items)
#define CTX_WIN_COUNT ((int)ctx_win_vec.size)

#include "context.h.generated.h"