merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fc6c84554b
commit
7f53260203
432 changed files with 1381 additions and 12563 deletions
|
|
@ -1,93 +0,0 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* mactclinit.c
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
* tclMacAppInit.c --
|
||||
*
|
||||
* Provides a version of the Tcl_AppInit procedure for the example shell.
|
||||
*
|
||||
* Copyright (c) 1993-1994 Lockheed Missle & Space Company, AI Center
|
||||
* Copyright (c) 1995-1997 Sun Microsystems, Inc.
|
||||
*
|
||||
* See the file "license.terms" for information on usage and redistribution
|
||||
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
*
|
||||
* SCCS: @(#) tclMacAppInit.c 1.17 97/01/21 18:13:34
|
||||
*/
|
||||
|
||||
#include "tcl.h"
|
||||
#include "tclInt.h"
|
||||
#include "tclMacInt.h"
|
||||
|
||||
#if defined(THINK_C)
|
||||
# include <console.h>
|
||||
#elif defined(__MWERKS__)
|
||||
# include <SIOUX.h>
|
||||
short InstallConsole _ANSI_ARGS_((short fd));
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
*----------------------------------------------------------------------
|
||||
*
|
||||
* MacintoshInit --
|
||||
*
|
||||
* This procedure calls initalization routines to set up a simple
|
||||
* console on a Macintosh. This is necessary as the Mac doesn't
|
||||
* have a stdout & stderr by default.
|
||||
*
|
||||
* Results:
|
||||
* Returns TCL_OK if everything went fine. If it didn't the
|
||||
* application should probably fail.
|
||||
*
|
||||
* Side effects:
|
||||
* Inits the appropiate console package.
|
||||
*
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
extern int
|
||||
MacintoshInit()
|
||||
{
|
||||
#if defined(THINK_C)
|
||||
|
||||
/* Set options for Think C console package */
|
||||
/* The console package calls the Mac init calls */
|
||||
console_options.pause_atexit = 0;
|
||||
console_options.title = "\pTcl Interpreter";
|
||||
|
||||
#elif defined(__MWERKS__)
|
||||
|
||||
/* Set options for CodeWarrior SIOUX package */
|
||||
SIOUXSettings.autocloseonquit = true;
|
||||
SIOUXSettings.showstatusline = true;
|
||||
SIOUXSettings.asktosaveonclose = false;
|
||||
InstallConsole(0);
|
||||
SIOUXSetTitle("\pTcl Interpreter");
|
||||
|
||||
#elif defined(applec)
|
||||
|
||||
/* Init packages used by MPW SIOW package */
|
||||
InitGraf((Ptr)&qd.thePort);
|
||||
InitFonts();
|
||||
InitWindows();
|
||||
InitMenus();
|
||||
TEInit();
|
||||
InitDialogs(nil);
|
||||
InitCursor();
|
||||
|
||||
#endif
|
||||
|
||||
TclMacSetEventProc((TclMacConvertEventPtr) SIOUXHandleOneEvent);
|
||||
|
||||
/* No problems with initialization */
|
||||
return TCL_OK;
|
||||
}
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* mactkinit.c
|
||||
*
|
||||
* This is a support file needed to build a new version of Wish.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* std_common.i
|
||||
*
|
||||
* SWIG typemaps for STL - common utilities
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* std_pair.i
|
||||
*
|
||||
* Typemaps for std::pair
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* std_vector.i
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* stl.i
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tcl8.swg
|
||||
*
|
||||
* Tcl configuration module.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclinterp.i
|
||||
*
|
||||
* Tcl_Interp *interp
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclopers.swg
|
||||
*
|
||||
* C++ overloaded operators.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclresult.i
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclrun.swg
|
||||
*
|
||||
* This file contains the runtime support for Tcl modules and includes
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclsh.i
|
||||
*
|
||||
* SWIG File for building new tclsh program
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* tclwstrings.wg
|
||||
*
|
||||
* Utility methods for wchar strings
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* typemaps.i
|
||||
*
|
||||
* Swig typemap library for Tcl8. This file contains various sorts
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* See the LICENSE file for information on copyright, usage and redistribution
|
||||
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
||||
*
|
||||
* wish.i
|
||||
*
|
||||
* SWIG File for making wish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue