mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Moved nsresult from nsISupports.h to nsError.h (so that it's defined for C files).
This commit is contained in:
parent
2fe3a86224
commit
7a294dae72
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user