read works now.

This commit is contained in:
ubu32
2011-02-14 23:39:27 -08:00
parent 78ea2213d1
commit 140318ff16
13 changed files with 263 additions and 223 deletions

View File

@@ -2809,6 +2809,13 @@ Yap_TermToString(Term t, char *s, unsigned int sz, int flags)
return EX != NULL;
}
Atom
Yap_FileName(IOSTREAM *s)
{
atom_t a = fileNameStream(s);
return SWIAtomToAtom(a);
}
#ifdef _WIN32
#include <windows.h>