allocation
This commit is contained in:
parent
66bc426b09
commit
cd18a69561
@ -221,7 +221,6 @@ X_API int PL_get_nchars(term_t l, size_t *lengthp, char **s, unsigned flags) {
|
|||||||
out.type |= YAP_STRING_NCHARS;
|
out.type |= YAP_STRING_NCHARS;
|
||||||
out.max = *lengthp;
|
out.max = *lengthp;
|
||||||
}
|
}
|
||||||
const char *buf;
|
|
||||||
if (!Yap_CVT_Text(&inp, &out PASS_REGS)) {
|
if (!Yap_CVT_Text(&inp, &out PASS_REGS)) {
|
||||||
pop_text_stack(lvl);
|
pop_text_stack(lvl);
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user