Files
neovim/src/nvim/api/buffer.h
Lewis Russell f8c6718277 feat(lua-api): avoid unnecessary allocations (#19877)
Lua makes (or reuses) an internal copy of strings, so we can safely push
buf pointers onto the stack.
2022-11-14 18:04:36 +00:00

13 lines
252 B
C

#ifndef NVIM_API_BUFFER_H
#define NVIM_API_BUFFER_H
#include <lauxlib.h>
#include "nvim/api/private/defs.h"
#include "nvim/buffer_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "api/buffer.h.generated.h"
#endif
#endif // NVIM_API_BUFFER_H