File indexing completed on 2024-12-22 04:33:41

0001 /* ***** BEGIN LICENSE BLOCK *****
0002  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
0003  *
0004  * The contents of this file are subject to the Mozilla Public License Version
0005  * 1.1 (the "License"); you may not use this file except in compliance with
0006  * the License. You may obtain a copy of the License at
0007  * http://www.mozilla.org/MPL/
0008  *
0009  * Software distributed under the License is distributed on an "AS IS" basis,
0010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
0011  * for the specific language governing rights and limitations under the
0012  * License.
0013  *
0014  * The Original Code is Mozilla Universal charset detector code.
0015  *
0016  * The Initial Developer of the Original Code is
0017  * Netscape Communications Corporation.
0018  * Portions created by the Initial Developer are Copyright (C) 2001
0019  * the Initial Developer. All Rights Reserved.
0020  *
0021  * Contributor(s):
0022  *          Kohei TAKETA <k-tak@void.in>
0023  *
0024  * Alternatively, the contents of this file may be used under the terms of
0025  * either the GNU General Public License Version 2 or later (the "GPL"), or
0026  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
0027  * in which case the provisions of the GPL or the LGPL are applicable instead
0028  * of those above. If you wish to allow use of your version of this file only
0029  * under the terms of either the GPL or the LGPL, and not to allow others to
0030  * use your version of this file under the terms of the MPL, indicate your
0031  * decision by deleting the provisions above and replace them with the notice
0032  * and other provisions required by the GPL or the LGPL. If you do not delete
0033  * the provisions above, a recipient may use your version of this file under
0034  * the terms of any one of the MPL, the GPL or the LGPL.
0035  *
0036  * ***** END LICENSE BLOCK ***** */
0037 #ifndef nsDummyCore_h__
0038 #define nsDummyCore_h__
0039 
0040 typedef bool PRBool;
0041 typedef int PRInt32;
0042 typedef unsigned int PRUint32;
0043 typedef short PRInt16;
0044 typedef unsigned short PRUint16;
0045 
0046 #define PR_FALSE false
0047 #define PR_TRUE true
0048 #define nsnull 0
0049 
0050 
0051 enum nsresult
0052 {
0053     NS_OK,
0054     NS_ERROR_OUT_OF_MEMORY
0055 };
0056 
0057 #endif