Data Structures | Macros | Functions
bufhl_defs.h File Reference
#include "nvim/pos.h"
#include "nvim/lib/kvec.h"
#include "nvim/lib/kbtree.h"

Go to the source code of this file.

Data Structures

struct  BufhlItem
 
struct  VirtTextChunk
 
struct  BufhlLine
 
struct  BufhlLineInfo
 

Macros

#define BUFHLLINE_INIT(l)   { l, KV_INITIAL_VALUE, 0, KV_INITIAL_VALUE }
 
#define BUFHL_CMP(a, b)   ((int)(((a)->line - (b)->line)))
 

Functions

typedef kvec_t (VirtTextChunk) VirtText
 
 KBTREE_INIT (bufhl, BufhlLine *, BUFHL_CMP, 10) typedef kbtree_t(bufhl) BufhlInfo
 

Macro Definition Documentation

#define BUFHL_CMP (   a,
 
)    ((int)(((a)->line - (b)->line)))
#define BUFHLLINE_INIT (   l)    { l, KV_INITIAL_VALUE, 0, KV_INITIAL_VALUE }

Function Documentation

KBTREE_INIT ( bufhl  ,
BufhlLine ,
BUFHL_CMP  ,
10   
)
typedef kvec_t ( VirtTextChunk  )