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