and then i created a vector and assign each element like this:
type charPtrArray = type::get_by_name("std::vector<char*>");
auto charPtrArrayInst = charPtrArray.create({ size });
auto charPtrArrayInstView = charPtrArrayInst.create_sequential_view();
int i = 0;
for (const auto& item : view)
{
charPtrArrayInstView.set_value(i, item.second.extract_wrapped_value().to_string().c_str());
i++;
}
now how can i get start address ( expecting const char ** ) of the underlying vector of charPtrArrayInst ?
i have already registered like this:
and then i created a vector and assign each element like this:
now how can i get start address ( expecting
const char **
) of the underlying vector ofcharPtrArrayInst
?@acki-m please help me out, thanks a lot!