These are chat archives for ChaiScript/ChaiScript

4th
Jan 2017
StanEpp
@StanEpp
Jan 04 2017 15:53
@emersont1 This is also possible! =) Look at this snippet. It should be compileable: http://pastebin.com/d4tmVA14
First you need to expose your class methods which you want to use. In that example I am using an stl vector instead of a raw array. To do so you need to expose this type of vector to chaiscript in line 24. Finally you pass your vector of class objects to chaiscript.