How to do DPI-C "import declaration" in UVM where the arguments passed to the DPI are dynamic arrays?

In reply to RB87:

Make a C wrapper around the C code you cannot modify.