diff options
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -7,8 +7,7 @@ static int Plpv(term_t, const char *, va_list); static int Plgv(term_t, const char *, va_list); /* Call Prolog predicate once. */ -int -Pl(const char *szMod, const char *szPred, const char *szFmt, ...) +int Pl(const char *szMod, const char *szPred, const char *szFmt, ...) { int iArity; term_t t; @@ -35,8 +34,7 @@ f: va_end(vl); } /* Put known values in term. */ -int -Plp(term_t t, const char *szFmt, ...) +int Plp(term_t t, const char *szFmt, ...) { int r; va_list vl; @@ -45,8 +43,7 @@ Plp(term_t t, const char *szFmt, ...) va_end(vl); return r; } -int -Plpv(term_t t, const char *szFmt, va_list vl) +int Plpv(term_t t, const char *szFmt, va_list vl) { int i; for (i = 0; szFmt[i]; i++) { @@ -89,8 +86,7 @@ Plpv(term_t t, const char *szFmt, va_list vl) } /* Get unknown values from term. */ -int -Plg(term_t t, const char *szFmt, ...) +int Plg(term_t t, const char *szFmt, ...) { int r; va_list vl; @@ -99,8 +95,7 @@ Plg(term_t t, const char *szFmt, ...) va_end(vl); return r; } -int -Plgv(term_t t, const char *szFmt, va_list vl) +int Plgv(term_t t, const char *szFmt, va_list vl) { int i; for (i = 0; szFmt[i]; i++) { |