kjs Library: global.h Source File (kjs Library)

| # kjs Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# global.h

    00001 // -*- c-basic-offset: 2 -*-
    00002 /*
    00003  *  This file is part of the KDE libraries
    00004  *  Copyright (C) 2002 David Faure (david@mandrakesoft.com)
    00005  *
    00006  *  This library is free software; you can redistribute it and/or
    00007  *  modify it under the terms of the GNU Lesser General Public
    00008  *  License as published by the Free Software Foundation; either
    00009  *  version 2 of the License, or (at your option) any later version.
    00010  *
    00011  *  This library is distributed in the hope that it will be useful,
    00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014  *  Lesser General Public License for more details.
    00015  *
    00016  *  You should have received a copy of the GNU Lesser General Public License
    00017  *  along with this library; see the file COPYING.LIB.  If not, write to
    00018  *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00019  *  Boston, MA 02111-1307, USA.
    00020  *
    00021  */
    00022
    00023 #ifndef KJS_GLOBAL_H
    00024 #define KJS_GLOBAL_H
    00025
    00026 // maximum global call stack size. Protects against accidental or
    00027 // malicious infinite recursions. Define to -1 if you want no limit.
    00028 #define KJS_MAX_STACK 1000
    00029
    00030 // we don't want any padding between UChars (ARM processor)
    00031 #if defined(__GNUC__)
    00032 #define KJS_PACKED __attribute__((__packed__))
    00033 #else
    00034 #define KJS_PACKED
    00035 #endif
    00036
    00037 #if 0
    00038 #define KJS_EXPORT __attribute__ ((visibility("default")))
    00039 #else
    00040 #define KJS_EXPORT
    00041 #endif
    00042
    00043 #ifndef NDEBUG // protection against problems if committing with KJS_VERBOSE on
    00044
    00045 // Uncomment this to enable very verbose output from KJS
    00046 //#define KJS_VERBOSE
    00047 // Uncomment this to debug memory allocation and garbage collection
    00048 //#define KJS_DEBUG_MEM
    00049
    00050 #endif
    00051
    00052 #endif

This file is part of the documentation for kjs Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:23:05 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003