Give external apps access to binary output file (#407)

This commit is contained in:
Lew Rossman
2019-03-05 09:23:49 -05:00
parent b0a0014f19
commit 692955e3d2
3 changed files with 24 additions and 12 deletions

View File

@@ -7,7 +7,7 @@
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
Last Updated: 02/08/2019
Last Updated: 03/05/2019
******************************************************************************
*/
@@ -819,6 +819,11 @@ int DLLEXPORT EN_closeQ(EN_Project p)
if (!p->Openflag) return 102;
closequal(p);
p->quality.OpenQflag = FALSE;
if (p->outfile.OutFile != NULL)
{
fclose(p->outfile.OutFile);
p->outfile.OutFile = NULL;
}
return 0;
}