Skip to content
A library for string buffers in Lua.
C Lua Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
VSProj
cmake
doc
.gitattributes
.gitignore
.travis.yml
CMakeLists.txt
README.md
build.sh
config.ld
dist.info
lua_bufflib-0.0.1-1.rockspec
lua_bufflib-0.2.0-1.rockspec
lua_bufflib-0.2.1-1.rockspec
lua_bufflib.c
test_bufflib.lua

README.md

Build Status

lua_bufflib

lua_bufflib is a library that provides string buffers for Lua 5.1 and 5.2. The buffer code is largely based on Lua 5.2's luaL_Buffer code.

Installation

LuaRocks

lua_bufflib can be installed through LuaRocks using luarocks install lua_bufflib. You can also run luarocks make on a downloaded and unpacked zip/tarball.

Unix

On Unix systems, you can run the included build.sh script, which compiles the library using libtool. This probably won't work in Cygwin or MinGW.

Windows

I've included a Visual Studio 2012 solution that can be used to compile the library on Windows. The solution includes predefined configurations for Lua 5.1, 5.2 and LuaJIT; but you may need to change the include directories (Properties > C/C++ > General > Additional Include Directories) and the Lua import library path (Properties > Linker > Input > Additional Dependencies) to match your setup.

Documentation

Documentation can be found here

Something went wrong with that request. Please try again.