map/msgpack-rpc: Declare/define maps rpc method handlers

The new map type uses `String` instances as keys to avoid unnecessary copying to
zero-terminated buffers.
This commit is contained in:
Thiago de Arruda
2014-09-03 11:46:35 -03:00
parent e2143674ae
commit c39ae3e4d4
4 changed files with 24 additions and 2 deletions

View File

@@ -8,6 +8,8 @@
#ifndef NVIM_VIM_H
# define NVIM_VIM_H
#define min(X, Y) (X < Y ? X : Y)
#include "nvim/types.h"
#include "nvim/pos.h" // for linenr_T, MAXCOL, etc...