mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +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
|
||
|---|---|---|
| .. | ||
| test/unit | ||
| ApplicationReputation.cpp | ||
| ApplicationReputation.h | ||
| csd.pb.cc | ||
| csd.pb.h | ||
| csd.proto | ||
| generate_csd.sh | ||
| moz.build | ||
| nsDownloadManager.cpp | ||
| nsDownloadManager.h | ||
| nsDownloadManagerUI.js | ||
| nsDownloadManagerUI.manifest | ||
| nsDownloadProxy.h | ||
| nsDownloadScanner.cpp | ||
| nsDownloadScanner.h | ||
| nsIApplicationReputation.idl | ||
| nsIDownload.idl | ||
| nsIDownloadManager.idl | ||
| nsIDownloadManagerUI.idl | ||
| nsIDownloadProgressListener.idl | ||
| SQLFunctions.cpp | ||
| SQLFunctions.h | ||