mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4201 1feff8c3-07ed-0310-ac33-dd36852eb9cd
23 lines
476 B
C++
23 lines
476 B
C++
#include "module_files.h"
|
|
|
|
#include "IPhreeqc.hpp"
|
|
|
|
#if defined(R_SO)
|
|
#include "output.inl"
|
|
#else
|
|
// COMMENT: {3/25/2010 12:36:24 PM}#include "phreeqcpp/phreeqc/output.c"
|
|
#endif
|
|
|
|
|
|
int IPhreeqc::output_isopen(const int type)
|
|
{
|
|
size_t i;
|
|
int isopen;
|
|
for (i = 0; i < this->count_output_callback; ++i)
|
|
{
|
|
isopen = (this->output_callbacks[i].callback)(ACTION_ISOPEN, type, NULL, CONTINUE, this->output_callbacks[i].cookie, NULL, NULL);
|
|
if (isopen) return 1;
|
|
}
|
|
return 0;
|
|
}
|