a few more cases of conversion
This commit is contained in:
parent
5d5ac22834
commit
54d7d52b09
@ -1212,6 +1212,12 @@ static inline Term Yap_StringToNumber(Term t0 USES_REGS) {
|
|||||||
return out.val.t;
|
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) {
|
static inline Term Yap_WCharsToListOfCodes(const wchar_t *s USES_REGS) {
|
||||||
seq_tv_t inp, out;
|
seq_tv_t inp, out;
|
||||||
inp.val.w0 = s;
|
inp.val.w0 = s;
|
||||||
|
Reference in New Issue
Block a user