Home
last modified time | relevance | path

Searched refs:ttisstring (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dlvm.h26 #define cvt2num(o) ttisstring(o)
H A Dldebug.c433 *name = (ttisstring(kvalue)) ? svalue(kvalue) : "?"; in kname()
575 if (ttisstring(&p->k[b])) { in getobjname()
766 if (ttisstring(p1) || cvt2str(p1)) p1 = p2; in luaG_concaterror()
H A Dlvm.c561 if (ttisstring(l) && ttisstring(r)) /* both are strings? */
588 if (ttisstring(l) && ttisstring(r)) /* both are strings? */
665 (ttisstring(o) || (cvt2str(o) && (luaO_tostring(L, o), 1)))
690 if (!(ttisstring(s2v(top - 2)) || cvt2str(s2v(top - 2))) ||
H A Dlobject.h375 #define ttisstring(o) checktype((o), LUA_TSTRING) macro
381 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
H A Dltm.c105 if (ttisstring(name)) /* is '__name' a string? */ in luaT_objtypename()
H A Dlstate.c439 const char *msg = (ttisstring(errobj)) in luaE_warnerror()
H A Dlapi.c324 return (ttisstring(o) || cvt2str(o)); in lua_isstring()
417 if (!ttisstring(o)) { in lua_tolstring()
H A Dlgc.c549 if (mode && ttisstring(mode) && /* is there a weak mode? */ in traversetable()