You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code didn't produce an exception. I need to do some additional work to make sure it isn't a bug in my test cases - the test case creates the stream term using with_output_to(string(String), ...), so the problem could be there. [Opening an "issue" because I don't want to forget this - please assign it to me if the problem isn't obvious]
staticforeign_tw_atom_ffi_(term_t stream, term_t t)
{ IOSTREAM* s;
atom_t a;
if ( !PL_get_stream(stream, &s, SIO_INPUT || /* should be SIO_OUTPUT */
!PL_get_atom_ex(t, &a) )
returnFALSE;
PL_STRINGS_MARK();
size_t len;
constpl_wchar_t *sa = PL_atom_wchars(a, &len);
SfprintfX(s, "/%Ws/%zd", sa, len); /* should fail */PL_STRINGS_RELEASE();
returnTRUE;
}
The following code didn't produce an exception. I need to do some additional work to make sure it isn't a bug in my test cases - the test case creates the stream term using
with_output_to(string(String), ...)
, so the problem could be there. [Opening an "issue" because I don't want to forget this - please assign it to me if the problem isn't obvious]For the test, this is wrapped with:
The text was updated successfully, but these errors were encountered: