public void ExportTar(WormExportTarCallback callback) { int result = worm_export_tar(tse_context, callback, IntPtr.Zero); if (result != 0) { throw new Exception("Failed to export, error: " + result); } }
private static extern int worm_export_tar(IntPtr context, WormExportTarCallback callback, IntPtr callbackData);