Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginDebug.h

Issue 29332020: Noissue - Add tracing function 'ToHexLiteral()' (Closed)
Patch Set: address comments Created Dec. 7, 2015, 1:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginDebug.h
===================================================================
--- a/src/plugin/PluginDebug.h
+++ b/src/plugin/PluginDebug.h
@@ -43,5 +43,12 @@
#endif
};
+/**
+* Convert a pointer to a hexadecimal literal (0x...)
+*
+* The length of the literal varies with pointer size:
+* 10 characters for WIN32, and 18 for WIN64.
+*/
+std::wstring ToHexLiteral(const void*);
#endif // _PLUGIN_DEBUG_H_
« no previous file with comments | « adblockplus.gyp ('k') | src/plugin/PluginDebug.cpp » ('j') | src/plugin/PluginDebug.cpp » ('J')

Powered by Google App Engine
This is Rietveld