Last active
August 8, 2018 02:33
-
-
Save timdream/b5ea9a3733faea471587b100c64a6a55 to your computer and use it in GitHub Desktop.
printf() something in Gecko CPP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////// | |
nsAutoString value; | |
input->GetTextValue(value); | |
printf("****************************************************************************************\n"); | |
printf("%s\n", NS_ConvertUTF16toUTF8(value).get()); | |
printf("****************************************************************************************\n"); | |
printf("%s\n", NS_ConvertUTF16toUTF8(mSearchString).get()); | |
printf("****************************************************************************************\n"); | |
/////////////////////////// | |
nsAutoCString tag; | |
elm->NodeInfo()->NameAtom()->ToUTF8String(tag); | |
printf("%s\n", tag.get()); | |
////////////////////// | |
printf("uri: %s", aDocumentNode->GetDocumentURI()->GetSpecOrDefault().get()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment