Example #1
0
char* ExportStringf(const char* pString,...)
{
	char TxtOut[GMAX_STRING];
	if ( strlen( pString ) >= GMAX_STRING )
	{
		GDebug_BreakGlobal("Formatted string for ExportString is too long");
	}

	va_list v;
	va_start( v, pString );
	int iChars = vsprintf((char*)TxtOut,pString, v );
	
	return ExportString( TxtOut );
}
Example #2
0
// create a html-file as string with default optimization
void QSgml::ExportString(QString *HtmlString)
{
    ExportString(HtmlString,2,2);
}