make sure we export in WIN32 environments, just like what SWI does.

This commit is contained in:
Vitor Santos Costa 2009-04-22 11:33:49 -05:00
parent f44a649849
commit 0bca468b4f
2 changed files with 9 additions and 5 deletions

View File

@ -481,7 +481,7 @@ PL_unify_stream_or_alias(term_t t, IOSTREAM *s)
}
int
int
PL_unify_stream(term_t t, IOSTREAM *s)
{ GET_LD
stream_context *ctx;
@ -503,7 +503,7 @@ PL_unify_stream(term_t t, IOSTREAM *s)
}
bool /* old FLI name (compatibility) */
bool /* old FLI name (compatibility) */
PL_open_stream(term_t handle, IOSTREAM *s)
{ return PL_unify_stream(handle, s);
}

View File

@ -481,9 +481,13 @@ word pl_noprotocol(void);
IOSTREAM *PL_current_input(void);
IOSTREAM *PL_current_output(void);
extern int PL_unify_stream_or_alias(term_t t, IOSTREAM *s);
extern bool PL_open_stream(term_t handle, IOSTREAM *s);
extern void PL_write_prompt(int dowrite);
PL_EXPORT(int) PL_open_stream(term_t t, IOSTREAM *s);
PL_EXPORT(int) PL_unify_stream(term_t t, IOSTREAM *s);
PL_EXPORT(int) PL_unify_stream_or_alias(term_t t, IOSTREAM *s);
PL_EXPORT(int) PL_get_stream_handle(term_t t, IOSTREAM **s);
PL_EXPORT(void) PL_write_prompt(int);
PL_EXPORT(int) PL_release_stream(IOSTREAM *s);
/**** stuff from pl-error.c ****/
extern void outOfCore(void);