mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 20:28:42 +02:00
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.
This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.
--HG--
extra : rebase_source : c15d85298e0975fd030cd8f8f8e54501f453959b
|
||
|---|---|---|
| .. | ||
| tests | ||
| CNavDTD.cpp | ||
| CNavDTD.h | ||
| CParserContext.cpp | ||
| CParserContext.h | ||
| moz.build | ||
| nsElementTable.cpp | ||
| nsElementTable.h | ||
| nsExpatDriver.cpp | ||
| nsExpatDriver.h | ||
| nsHTMLEntities.cpp | ||
| nsHTMLEntities.h | ||
| nsHTMLEntityList.h | ||
| nsHTMLTagList.h | ||
| nsHTMLTags.cpp | ||
| nsHTMLTags.h | ||
| nsHTMLTokenizer.cpp | ||
| nsHTMLTokenizer.h | ||
| nsIContentSink.h | ||
| nsIDTD.h | ||
| nsIExpatSink.idl | ||
| nsIExtendedExpatSink.idl | ||
| nsIFragmentContentSink.h | ||
| nsIHTMLContentSink.h | ||
| nsIParser.h | ||
| nsIParserService.h | ||
| nsITokenizer.h | ||
| nsParser.cpp | ||
| nsParser.h | ||
| nsParserBase.h | ||
| nsParserCIID.h | ||
| nsParserConstants.h | ||
| nsParserModule.cpp | ||
| nsParserMsgUtils.cpp | ||
| nsParserMsgUtils.h | ||
| nsParserService.cpp | ||
| nsParserService.h | ||
| nsScanner.cpp | ||
| nsScanner.h | ||
| nsScannerString.cpp | ||
| nsScannerString.h | ||
| nsToken.h | ||