Data Structures | Macros | Functions
lmpack.c File Reference
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <lauxlib.h>
#include <lua.h>
#include <luaconf.h>
#include "nvim/macros.h"
#include "lmpack.h"
#include "rpc.h"

Data Structures

struct  Unpacker
 
struct  Packer
 
struct  Session
 

Macros

#define LUA_LIB
 
#define UNPACKER_META_NAME   "mpack.Unpacker"
 
#define UNPACK_FN_NAME   "decode"
 
#define PACKER_META_NAME   "mpack.Packer"
 
#define PACK_FN_NAME   "encode"
 
#define SESSION_META_NAME   "mpack.Session"
 
#define NIL_NAME   "mpack.NIL"
 
#define EMPTY_DICT_NAME   "mpack.empty_dict"
 
#define luaL_reg   luaL_Reg
 

Functions

int luaopen_mpack (lua_State *L)
 

Macro Definition Documentation

◆ EMPTY_DICT_NAME

#define EMPTY_DICT_NAME   "mpack.empty_dict"

◆ LUA_LIB

#define LUA_LIB

◆ luaL_reg

#define luaL_reg   luaL_Reg

◆ NIL_NAME

#define NIL_NAME   "mpack.NIL"

◆ PACK_FN_NAME

#define PACK_FN_NAME   "encode"

◆ PACKER_META_NAME

#define PACKER_META_NAME   "mpack.Packer"

◆ SESSION_META_NAME

#define SESSION_META_NAME   "mpack.Session"

◆ UNPACK_FN_NAME

#define UNPACK_FN_NAME   "decode"

◆ UNPACKER_META_NAME

#define UNPACKER_META_NAME   "mpack.Unpacker"

Function Documentation

◆ luaopen_mpack()

int luaopen_mpack ( lua_State *  L)