make sure we export in WIN32 environments, just like what SWI does.
This commit is contained in:
parent
f44a649849
commit
0bca468b4f
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user