satoren / kaguya

C++ binding to Lua
Boost Software License 1.0
345 stars 70 forks source link

Extent support for nil values #42

Closed Flamefire closed 8 years ago

Flamefire commented 8 years ago

I found the need to use luas nil but could not find any documentation for it. Also I was not sure if it can be reliably detected to be different than zero (0). This updates the readme and adds more tests to ensure this. kaguya::NilValue is now basically the C++98 version of nullptr_t

Also some minor readme fixes.

satoren commented 8 years ago

Thank you!

Flamefire commented 8 years ago

A little bit to fast... There were some compilation errors I was trying to fix (did not get them on my machine) I hope they were all fixed by my last commit