mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4106 1feff8c3-07ed-0310-ac33-dd36852eb9cd
22 lines
541 B
C
22 lines
541 B
C
#include "module_files.h"
|
|
|
|
#if defined(R_SO)
|
|
#include "output.inl"
|
|
#else
|
|
#include "phreeqcpp/phreeqc/output.c"
|
|
#endif
|
|
|
|
|
|
/* ---------------------------------------------------------------------- */
|
|
int output_isopen(const int type)
|
|
/* ---------------------------------------------------------------------- */
|
|
{
|
|
size_t i;
|
|
int isopen;
|
|
for (i = 0; i < count_output_callback; ++i) {
|
|
isopen = (output_callbacks[i].callback)(ACTION_ISOPEN, type, NULL, CONTINUE, output_callbacks[i].cookie, NULL, NULL);
|
|
if (isopen) return 1;
|
|
}
|
|
return 0;
|
|
}
|