Annotation of sbbs/javascript/include/mozilla/js/jscompat.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * The contents of this file are subject to the Netscape Public
        !             3:  * License Version 1.1 (the "License"); you may not use this file
        !             4:  * except in compliance with the License. You may obtain a copy of
        !             5:  * the License at http://www.mozilla.org/NPL/
        !             6:  *
        !             7:  * Software distributed under the License is distributed on an "AS
        !             8:  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
        !             9:  * implied. See the License for the specific language governing
        !            10:  * rights and limitations under the License.
        !            11:  *
        !            12:  * The Original Code is Mozilla Communicator client code, released
        !            13:  * March 31, 1998.
        !            14:  *
        !            15:  * The Initial Developer of the Original Code is Netscape
        !            16:  * Communications Corporation. Portions created by Netscape are
        !            17:  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
        !            18:  * Rights Reserved.
        !            19:  *
        !            20:  * Contributor(s):
        !            21:  *
        !            22:  * Alternatively, the contents of this file may be used under the
        !            23:  * terms of the GNU Public License (the "GPL"), in which case the
        !            24:  * provisions of the GPL are applicable instead of those above.
        !            25:  * If you wish to allow use of your version of this file only
        !            26:  * under the terms of the GPL and not to allow others to use your
        !            27:  * version of this file under the NPL, indicate your decision by
        !            28:  * deleting the provisions above and replace them with the notice
        !            29:  * and other provisions required by the GPL.  If you do not delete
        !            30:  * the provisions above, a recipient may use your version of this
        !            31:  * file under either the NPL or the GPL.
        !            32:  */
        !            33: 
        !            34: /* -*- Mode: C; tab-width: 8 -*-
        !            35:  * Copyright � 1996-1999 Netscape Communications Corporation, All Rights Reserved.
        !            36:  */
        !            37: #ifndef jscompat_h___
        !            38: #define jscompat_h___
        !            39: /*
        !            40:  * Compatibility glue for various NSPR versions.  We must always define int8,
        !            41:  * int16, jsword, and so on to minimize differences with js/ref, no matter what
        !            42:  * the NSPR typedef names may be.
        !            43:  */
        !            44: #include "jstypes.h"
        !            45: #include "jslong.h"
        !            46: 
        !            47: typedef JSIntn intN;
        !            48: typedef JSUintn uintN;
        !            49: typedef JSUword jsuword;
        !            50: typedef JSWord jsword;
        !            51: typedef float float32;
        !            52: #define allocPriv allocPool
        !            53: #endif /* jscompat_h___ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.