mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
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:
parent
1709dc7c2b
commit
21b38a9779
@ -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
|
||||
|
||||
@ -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" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user