Added a #define for NS_ERROR_INVALID_ARG to be the same as

NS_ERROR_ILLEGAL_VALUE. This helps make our error names more
consistent with COM
This commit is contained in:
troy%netscape.com 1998-11-09 19:03:05 +00:00
Родитель 777b189df1
Коммит b82062a518
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -153,6 +153,7 @@ typedef PRUint32 nsresult;
/* Returned when an illegal value is passed */
#define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L)
#define NS_ERROR_INVALID_ARG NS_ERROR_ILLEGAL_VALUE
/* Returned when a class doesn't allow aggregation */
#define NS_ERROR_NO_AGGREGATION ((nsresult) 0x80040110L)

Просмотреть файл

@ -153,6 +153,7 @@ typedef PRUint32 nsresult;
/* Returned when an illegal value is passed */
#define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L)
#define NS_ERROR_INVALID_ARG NS_ERROR_ILLEGAL_VALUE
/* Returned when a class doesn't allow aggregation */
#define NS_ERROR_NO_AGGREGATION ((nsresult) 0x80040110L)