os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacInt.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2  * tclMacInt.h --
     3  *
     4  *	Declarations of Macintosh specific shared variables and procedures.
     5  *
     6  * Copyright (c) 1996-1998 Sun Microsystems, Inc.
     7  *
     8  * See the file "license.terms" for information on usage and redistribution
     9  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    10  *
    11  * RCS: @(#) $Id: tclMacInt.h,v 1.7 2001/11/23 01:27:36 das Exp $
    12  */
    13 
    14 #ifndef _TCLMACINT
    15 #define _TCLMACINT
    16 
    17 #ifndef _TCLINT
    18 #include "tclInt.h"
    19 #endif
    20 #ifndef _TCLPORT
    21 #include "tclPort.h"
    22 #endif
    23 
    24 #include <Events.h>
    25 #include <Files.h>
    26 
    27 /*
    28  * Defines to control stack behavior.
    29  *
    30  * The Tcl8.2 regexp code is highly recursive for patterns with many
    31  * subexpressions.  So we have to increase the stack space to accomodate.
    32  * 512 K is good enough for ordinary work, but you need 768 to pass the Tcl
    33  * regexp testsuite.
    34  *
    35  * For the PPC, you need to set the stack space in the Project file.
    36  *
    37  */
    38 
    39 #ifdef TCL_TEST
    40 #	define TCL_MAC_68K_STACK_GROWTH (768*1024)
    41 #else
    42 #	define TCL_MAC_68K_STACK_GROWTH (512*1024)
    43 #endif
    44 
    45 #define TCL_MAC_STACK_THRESHOLD 16384
    46 
    47 #ifdef BUILD_tcl
    48 # undef TCL_STORAGE_CLASS
    49 # define TCL_STORAGE_CLASS DLLEXPORT
    50 #endif
    51 
    52 /*
    53  * This flag is passed to TclMacRegisterResourceFork
    54  * by a file (usually a library) whose resource fork
    55  * should not be closed by the resource command.
    56  */
    57  
    58 #define TCL_RESOURCE_DONT_CLOSE  2
    59 
    60 /*
    61  * Typedefs used by Macintosh parts of Tcl.
    62  */
    63 
    64 /*
    65  * Prototypes of Mac only internal functions.
    66  */
    67 
    68 EXTERN char *	TclMacGetFontEncoding _ANSI_ARGS_((int fontId));
    69 EXTERN int		TclMacHaveThreads _ANSI_ARGS_((void));
    70 EXTERN long		TclpGetGMTOffset _ANSI_ARGS_((void));
    71 
    72 # undef TCL_STORAGE_CLASS
    73 # define TCL_STORAGE_CLASS DLLIMPORT
    74 
    75 #include "tclIntPlatDecls.h"
    76     
    77 #endif /* _TCLMACINT */