Learned a great way to wrap c++ code