WIN32 support

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1790 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2007-01-28 14:26:37 +00:00
parent 1583990b8f
commit 47765f7739
14 changed files with 89 additions and 68 deletions

View File

@@ -42,7 +42,7 @@ typedef enum {
static wtype lastw;
typedef wchar_t (*wrf) (int, wchar_t);
typedef int (*wrf) (int, wchar_t);
typedef struct write_globs {
wrf writewch;
@@ -798,7 +798,7 @@ writeTerm(Term t, int p, int depth, int rinfixarg, struct write_globs *wglb)
}
void
Yap_plwrite(Term t, wchar_t (*mywrite) (int, wchar_t), int flags)
Yap_plwrite(Term t, int (*mywrite) (int, wchar_t), int flags)
/* term to be written */
/* consumer */
/* write options */