iphreeqc/UserPunch.cpp
Scott R Charlton aab6347c98 changed EOL to native
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8391 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2014-01-23 01:31:19 +00:00

20 lines
343 B
C++

#include "UserPunch.h"
#include "Phreeqc.h"
UserPunch::UserPunch(int n, PHRQ_io *io)
: cxxNumKeyword(io)
{
this->PhreeqcPtr = NULL;
this->rate = NULL;
}
UserPunch::~UserPunch(void)
{
if (this->rate != NULL)
{
this->PhreeqcPtr->rate_free(this->rate);
}
this->PhreeqcPtr->free_check_null(this->rate);
this->rate = NULL;
}