home *** CD-ROM | disk | FTP | other *** search
- /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.0 (the "NPL"); you may not use this file except in
- * compliance with the NPL. You may obtain a copy of the NPL at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the NPL is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
- * for the specific language governing rights and limitations under the
- * NPL.
- *
- * The Initial Developer of this code under the NPL is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998 Netscape Communications Corporation. All Rights
- * Reserved.
- */
-
- #ifndef jsprvtd_h___
- #define jsprvtd_h___
- /*
- * JS private typename definitions.
- *
- * This header is included only in other .h files, for convenience and for
- * simplicity of type naming. The alternative for structures is to use tags,
- * which are named the same as their typedef names (legal in C/C++, and less
- * noisy than suffixing the typedef name with "Struct" or "Str"). Instead,
- * all .h files that include this file may use the same typedef name, whether
- * declaring a pointer to struct type, or defining a member of struct type.
- *
- * A few fundamental scalar types are defined here too. Neither the scalar
- * nor the struct typedefs should change much, therefore the nearly-global
- * make dependency induced by this file should not prove painful.
- */
-
- /* Scalar typedefs. */
- typedef uint8 jsbytecode;
- typedef uint8 jssrcnote;
- typedef int32 jsrefcount;
- typedef uint32 jsatomid;
-
- /* Struct typedefs. */
- typedef struct JSCodeGenerator JSCodeGenerator;
- typedef struct JSGCThing JSGCThing;
- typedef struct JSToken JSToken;
- typedef struct JSTokenStream JSTokenStream;
-
- /* Friend "Advanced API" typedefs. */
- typedef struct JSAtom JSAtom;
- typedef struct JSAtomList JSAtomList;
- typedef struct JSAtomMap JSAtomMap;
- typedef struct JSAtomState JSAtomState;
- typedef struct JSCodeSpec JSCodeSpec;
- typedef struct JSPrinter JSPrinter;
- typedef struct JSProperty JSProperty;
- typedef struct JSRegExp JSRegExp;
- typedef struct JSRegExpStatics JSRegExpStatics;
- typedef struct JSScope JSScope;
- typedef struct JSScopeOps JSScopeOps;
- typedef struct JSStackFrame JSStackFrame;
- typedef struct JSSubString JSSubString;
- typedef struct JSSymbol JSSymbol;
- typedef struct JSSharpObjectMap JSSharpObjectMap;
-
- #endif /* jsprvtd_h___ */
-