DPI-C export of a task defined inside a SystemVerilog class

You can bring it to a wrapper module and export.