Fixed error with callback. Had not saved the phreeqc pointer in the parser constructor.

Fixed project, directories for versions were all messed up. 

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3881 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2009-12-09 01:03:21 +00:00
parent 65ff0a9456
commit b454429379

View File

@ -31,6 +31,9 @@ m_next_keyword(KT_NONE)
echo_file = EO_ALL;
echo_stream = EO_NONE;
accumulate = false;
#if defined(PHREEQC_CLASS)
this->p_instance = p_instance;
#endif
}
CParser::CParser(PHREEQC_PTR_ARG_COMMA std::istream & input, std::ostream & output):m_input_stream(input), m_output_stream(output), m_error_stream(std::cerr),
@ -42,6 +45,9 @@ m_next_keyword(KT_NONE)
echo_file = EO_ALL;
echo_stream = EO_NONE;
accumulate = false;
#if defined(PHREEQC_CLASS)
this->p_instance = p_instance;
#endif
}
CParser::CParser(PHREEQC_PTR_ARG_COMMA std::istream & input, std::ostream & output, std::ostream & error):m_input_stream(input), m_output_stream(output), m_error_stream(error),
@ -53,6 +59,9 @@ m_next_keyword(KT_NONE)
echo_file = EO_ALL;
echo_stream = EO_NONE;
accumulate = false;
#if defined(PHREEQC_CLASS)
this->p_instance = p_instance;
#endif
}
CParser::~CParser()