os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacInt.h
First public contribution.
4 * Declarations of Macintosh specific shared variables and procedures.
6 * Copyright (c) 1996-1998 Sun Microsystems, Inc.
8 * See the file "license.terms" for information on usage and redistribution
9 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 * RCS: @(#) $Id: tclMacInt.h,v 1.7 2001/11/23 01:27:36 das Exp $
28 * Defines to control stack behavior.
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
35 * For the PPC, you need to set the stack space in the Project file.
40 # define TCL_MAC_68K_STACK_GROWTH (768*1024)
42 # define TCL_MAC_68K_STACK_GROWTH (512*1024)
45 #define TCL_MAC_STACK_THRESHOLD 16384
48 # undef TCL_STORAGE_CLASS
49 # define TCL_STORAGE_CLASS DLLEXPORT
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.
58 #define TCL_RESOURCE_DONT_CLOSE 2
61 * Typedefs used by Macintosh parts of Tcl.
65 * Prototypes of Mac only internal functions.
68 EXTERN char * TclMacGetFontEncoding _ANSI_ARGS_((int fontId));
69 EXTERN int TclMacHaveThreads _ANSI_ARGS_((void));
70 EXTERN long TclpGetGMTOffset _ANSI_ARGS_((void));
72 # undef TCL_STORAGE_CLASS
73 # define TCL_STORAGE_CLASS DLLIMPORT
75 #include "tclIntPlatDecls.h"
77 #endif /* _TCLMACINT */