removed FC_FUNC from IPhreeqc_interface_F.h, fixed padfstring to use int sofar

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9357 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2015-03-13 18:34:10 +00:00
parent 1709dc7c2b
commit 21b38a9779
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@ f2cstring(char* fstring, size_t len)
void
padfstring(char *dest, const char *src, int* len)
{
size_t sofar;
int sofar;
for (sofar = 0; (sofar < *len) && (*src != '\0'); ++sofar)
*dest++ = *src++;
@ -509,4 +509,4 @@ SetSelectedOutputStringOnF(int *id, int* selected_output_string_on)
{
return ::SetSelectedOutputStringOn(*id, *selected_output_string_on);
}
#endif
#endif

View File

@ -7,6 +7,7 @@
#define IPQ_DLL_EXPORT
#endif
#ifdef SKIP
#if defined(FC_FUNC)
#define AccumulateLineF FC_FUNC (accumulatelinef, ACCUMULATELINEF)
#define AddErrorF FC_FUNC (adderrorf, ADDERRORF)
@ -76,6 +77,7 @@
#define SetSelectedOutputFileOnF FC_FUNC (setselectedoutputfileonf, SETSELECTEDOUTPUTFILEONF)
#define SetSelectedOutputStringOnF FC_FUNC (setselectedoutputstringonf, SETSELECTEDOUTPUTSTRINGONF)
#endif /* FC_FUNC */
#endif
#if defined(__cplusplus)
extern "C" {