API: Refactor: Implement api/handle module

This module will be used to implement remote management of objects through the
API. Object types to be registered must have a `uint64_t` field named 'handle'.
This commit is contained in:
Thiago de Arruda
2014-05-23 15:49:28 -03:00
parent 72e3125f45
commit 7dfc7bc2e1
5 changed files with 49 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
#include <string.h>
#include "nvim/api/private/handle.h"
#include "nvim/vim.h"
#include "nvim/os_unix.h"
#include "nvim/buffer.h"
@@ -542,6 +543,7 @@ int mch_nodetype(char_u *name)
void mch_early_init()
{
handle_init();
time_init();
}