jheruty / hscpp

Runtime compiled C++ with hot-swapped classes.
MIT License
91 stars 5 forks source link

Add ability to specify Init callback to SwapInfo. #13

Closed jheruty closed 3 years ago

jheruty commented 3 years ago

This makes it easier to use an "Init" function in lieu of a constructor. By the time Init is called, all values will have been unserialized after a runtime swap.