low-luajit 0.3.1

Low level but safe bindings to the LuaJIT C API with no dependencies and no-std support to create Lua modules using Rust.
Documentation
package.cpath = "target/debug/examples/lib?.so;" .. package.cpath

local num_vector = require("num_vector")

print("\nCreating initial array...")
local vec = num_vector(1, 2, 3)
print("vec =\t", vec)

print("\nTesting vec:push(4)...")
vec:push(4)
print("vec =\t", vec)

print("\nTesting vec:pop()...")
print("vec:pop() =", vec:pop())
print("vec =\t", vec)

print("\nTesting vec[i]...")
print("vec[0] =", vec[0])
print("vec[2] =", vec[2])
print("vec[9] =", vec[9])

print("\nTesting vec[1] = 37...")
vec[1] = 37
print("vec =\t", vec)