Moved nsresult from nsISupports.h to nsError.h (so that it's defined for C files).

git-svn-id: svn://10.0.0.236/trunk@8782 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1998-08-29 02:21:49 +00:00
parent 8d0f6d433f
commit 9f2fefb606
2 changed files with 8 additions and 6 deletions

View File

@@ -19,6 +19,12 @@
#ifndef nsError_h
#define nsError_h
/**
* Generic result data type
*/
typedef PRUint32 nsresult;
/*
* To add error code to your module, you need to do the following:
*
@@ -47,6 +53,8 @@
#define NS_ERROR_MODULE_GFX 3
#define NS_ERROR_MODULE_WIDGET 4
#define NS_ERROR_MODULE_CALENDAR 5
#define NS_ERROR_MODULE_NETWORK 6
#define NS_ERROR_MODULE_PLUGINS 7
/**
* @name Standard Error Handling Macros

View File

@@ -58,12 +58,6 @@ typedef nsID nsIID;
{ 0x00000000, 0x0000, 0x0000, \
{0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46} }
/**
* Generic result data type
*/
typedef PRUint32 nsresult;
/**
* Reference count values
*/