a few more cases of conversion

This commit is contained in:
Vítor Santos Costa 2015-11-13 13:22:50 +00:00
parent 5d5ac22834
commit 54d7d52b09
1 changed files with 6 additions and 0 deletions

View File

@ -1212,6 +1212,12 @@ static inline Term Yap_StringToNumber(Term t0 USES_REGS) {
return out.val.t;
}
static inline Term Yap_UTF8ToString(const char *s USES_REGS) {
return MkStringTerm( s );
}
static inline Term Yap_WCharsToListOfCodes(const wchar_t *s USES_REGS) {
seq_tv_t inp, out;
inp.val.w0 = s;