Missing some #defines. Not part of default build. a=mkaply

git-svn-id: svn://10.0.0.236/trunk@172758 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2005-04-26 22:58:26 +00:00
parent f48d9d3599
commit adb5c60b03

View File

@@ -113,6 +113,10 @@ while (<STDIN>) {
#define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100)
print " public static final long $1 = $2 + $3$4L;\n";
}
elsif (/^\s*#define\s+(NS_[A-Z_]+)\s+(NS_[A-Z_]+)\s\s*/) {
#define NS_ERROR_NO_INTERFACE NS_NOINTERFACE
print " public static final long $1 = $2;\n";
}
elsif (/^\s*#define\s+(NS_[A-Z_]+)\s+\(\(nsresult\)\s*(0x)?([0-9a-fA-F]+)L?\)\s*$/) {
#define NS_ERROR_BASE ((nsresult) 0xC1F30000)
#define NS_ERROR_ABORT ((nsresult) 0x80004004L)