ThePhD / sol2

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
http://sol2.rtfd.io/
MIT License
4.16k stars 504 forks source link

Add to_string and is_integer utilities #1395

Closed gotschmarcel-ni closed 1 year ago

gotschmarcel-ni commented 2 years ago

I've been using sol for quite a while now and these two utilities can sometimes be handy to have in C++. I'm not a Lua C-API expert, so it might not be the best possible solution or contain bugs. I'm happy to address suggestions if such an addition is considered useful for others too.

ThePhD commented 1 year ago

Merged. Thanks.