mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 04:39:31 +00:00
![Nicholas Nethercote](/assets/img/avatar_default.png)
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