decimad / luabind-deboostified

Create Lua bindings for your C++ code easily - my improvements
http://www.vrac.iastate.edu/vancegroup/docs/luabind/
Other
70 stars 27 forks source link

Add missing default converter specialization for char(&)[N] #21

Closed nitrocaster closed 8 years ago

nitrocaster commented 8 years ago

The following example throws luabind::error without that converter:

cpp code:

char a[256];
*a = 0;
luabind::globals(L)["foo"](s);

lua code:

function foo(s)
end

The last commit fixes compilation failure introduced in 44c2f1a.