c++ api stuff