int lua_tidy_DetectedHtmlVersion(lua_State *L) { pTidy t = toTidy(L,1); lua_pushnumber(L, tidyDetectedHtmlVersion (t->tdoc)); return 1; }
/* {{{ proto int tidy_get_html_ver() Get the Detected HTML version for the specified document. */ static PHP_FUNCTION(tidy_get_html_ver) { TIDY_FETCH_OBJECT; RETURN_LONG(tidyDetectedHtmlVersion(obj->ptdoc->doc)); }