mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1295053 (part 6) - Don't use NS_METHOD for intl/uconv/ functions. r=froydnj.
These don't need __stdcall on Win32. --HG-- extra : rebase_source : f9dde1306f7e663f3f6c89d4fee5a49324e90494
This commit is contained in:
parent
e0229c761e
commit
32e3b7a79e
@ -3,13 +3,11 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
|
||||
#include "nsUCSupport.h"
|
||||
#include "nsUCConstructors.h"
|
||||
|
||||
template<class T>
|
||||
inline NS_METHOD StabilizedQueryInterface(T* aNewObject,
|
||||
inline nsresult StabilizedQueryInterface(T* aNewObject,
|
||||
REFNSIID aIID,
|
||||
void **aResult)
|
||||
{
|
||||
@ -19,7 +17,7 @@ inline NS_METHOD StabilizedQueryInterface(T* aNewObject,
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableDecoder(int32_t aTableCount, const uRange * aRangeArray,
|
||||
uScanClassID * aScanClassArray,
|
||||
uMappingTable ** aMappingTable,
|
||||
@ -42,7 +40,7 @@ CreateMultiTableDecoder(int32_t aTableCount, const uRange * aRangeArray,
|
||||
return StabilizedQueryInterface(decoder, aIID, aResult);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableEncoder(int32_t aTableCount,
|
||||
uScanClassID * aScanClassArray,
|
||||
uShiftOutTable ** aShiftOutTable,
|
||||
@ -68,7 +66,7 @@ CreateMultiTableEncoder(int32_t aTableCount,
|
||||
return StabilizedQueryInterface(encoder, aIID, aResult);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableEncoder(int32_t aTableCount,
|
||||
uScanClassID * aScanClassArray,
|
||||
uMappingTable ** aMappingTable,
|
||||
@ -83,7 +81,7 @@ CreateMultiTableEncoder(int32_t aTableCount,
|
||||
aOuter, aIID, aResult);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateTableEncoder(uScanClassID aScanClass,
|
||||
uShiftOutTable * aShiftOutTable,
|
||||
uMappingTable * aMappingTable,
|
||||
@ -105,7 +103,7 @@ CreateTableEncoder(uScanClassID aScanClass,
|
||||
return StabilizedQueryInterface(encoder, aIID, aResult);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateTableEncoder(uScanClassID aScanClass,
|
||||
uMappingTable * aMappingTable,
|
||||
uint32_t aMaxLengthFactor,
|
||||
@ -118,9 +116,8 @@ CreateTableEncoder(uScanClassID aScanClass,
|
||||
aOuter, aIID, aResult);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateOneByteDecoder(uMappingTable * aMappingTable,
|
||||
|
||||
nsISupports* aOuter,
|
||||
REFNSIID aIID,
|
||||
void** aResult)
|
||||
|
@ -14,18 +14,17 @@
|
||||
class nsISupports;
|
||||
|
||||
// all the useful constructors
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableDecoder(int32_t aTableCount,
|
||||
const uRange * aRangeArray,
|
||||
uScanClassID * aScanClassArray,
|
||||
uMappingTable ** aMappingTable,
|
||||
uint32_t aMaxLengthFactor,
|
||||
|
||||
nsISupports* aOuter,
|
||||
REFNSIID aIID,
|
||||
void** aResult);
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableEncoder(int32_t aTableCount,
|
||||
uScanClassID * aScanClassArray,
|
||||
uShiftOutTable ** aShiftOutTable,
|
||||
@ -35,7 +34,7 @@ CreateMultiTableEncoder(int32_t aTableCount,
|
||||
REFNSIID aIID,
|
||||
void** aResult);
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateTableEncoder(uScanClassID aScanClass,
|
||||
uShiftOutTable * aShiftOutTable,
|
||||
uMappingTable * aMappingTable,
|
||||
@ -44,7 +43,7 @@ CreateTableEncoder(uScanClassID aScanClass,
|
||||
REFNSIID aIID,
|
||||
void** aResult);
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateMultiTableEncoder(int32_t aTableCount,
|
||||
uScanClassID * aScanClassArray,
|
||||
uMappingTable ** aMappingTable,
|
||||
@ -53,7 +52,7 @@ CreateMultiTableEncoder(int32_t aTableCount,
|
||||
REFNSIID aIID,
|
||||
void** aResult);
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateTableEncoder(uScanClassID aScanClass,
|
||||
uMappingTable * aMappingTable,
|
||||
uint32_t aMaxLengthFactor,
|
||||
@ -61,7 +60,7 @@ CreateTableEncoder(uScanClassID aScanClass,
|
||||
REFNSIID aIID,
|
||||
void** aResult);
|
||||
|
||||
NS_METHOD
|
||||
nsresult
|
||||
CreateOneByteDecoder(uMappingTable * aMappingTable,
|
||||
nsISupports* aOuter,
|
||||
REFNSIID aIID,
|
||||
|
Loading…
Reference in New Issue
Block a user