コード例 #1
0
ファイル: tdoc.c プロジェクト: nuxlli/wax
int lua_tidy_DetectedXhtml(lua_State *L)
{
    pTidy t = toTidy(L,1);

	lua_pushboolean(L, tidytolua_bool( tidyDetectedXhtml (t->tdoc)));
	return 1;
}
コード例 #2
0
ファイル: tidy.c プロジェクト: CooCoooo/php-src
/* {{{ proto boolean tidy_is_xhtml()
   Indicates if the document is a XHTML document. */
static PHP_FUNCTION(tidy_is_xhtml)
{
	TIDY_FETCH_OBJECT;

	RETURN_BOOL(tidyDetectedXhtml(obj->ptdoc->doc));
}