Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7f74b8e7a3
commit
49be05f4fd
153 changed files with 1209 additions and 801 deletions
|
|
@ -1,3 +1,10 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* 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 --
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,6 +1,13 @@
|
|||
/* This is a support file needed to build a new version of Wish
|
||||
Normally, this capability is found in TkAppInit.c, but this creates
|
||||
tons of namespace problems for many applications. */
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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.
|
||||
* Normally, this capability is found in TkAppInit.c, but this creates
|
||||
* tons of namespace problems for many applications.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#include <Gestalt.h>
|
||||
#include <ToolUtils.h>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
//
|
||||
// SWIG typemaps for STL - common utilities
|
||||
// Luigi Ballabio
|
||||
// Aug 17, 2003
|
||||
//
|
||||
// Tcl implementation
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include <std/std_except.i>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
//
|
||||
// SWIG typemaps for std::pair
|
||||
// Luigi Ballabio
|
||||
// July 2003
|
||||
//
|
||||
// Common implementation
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include <std_common.i>
|
||||
%include <exception.i>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
//
|
||||
// SWIG typemaps for std::vector
|
||||
// Luigi Ballabio and Manu ??? and Kristopher Blom
|
||||
// Apr 26, 2002, updated Nov 13, 2002[blom]
|
||||
//
|
||||
// Tcl implementation
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%include <std_common.i>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* initial STL definition. extended as needed in each language */
|
||||
%include <std_common.i>
|
||||
%include <std_string.i>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
/* ------------------------------------------------------------
|
||||
* tcl.swg
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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.
|
||||
* ------------------------------------------------------------ */
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Inner macros
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
/*
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* tclfragments.swg
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
Create a file with this name, 'fragments.i', in your working
|
||||
directory and add all the %fragments you want to take precedence
|
||||
over the ones defined by default by swig.
|
||||
|
|
@ -19,5 +25,4 @@
|
|||
|
||||
int, std::vector<int>, std::list<std::pair<int,int> >, etc.
|
||||
|
||||
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,14 +1,18 @@
|
|||
/*
|
||||
|
||||
Tcl_Interp *interp
|
||||
|
||||
Passes the current Tcl_Interp value directly to a C function.
|
||||
This can be used to work with existing wrapper functions or
|
||||
if you just need the interp value for some reason. When used,
|
||||
the 'interp' parameter becomes hidden in the Tcl interface--that
|
||||
is, you don't specify it explicitly. SWIG fills in its value
|
||||
automatically.
|
||||
*/
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
*
|
||||
* Passes the current Tcl_Interp value directly to a C function.
|
||||
* This can be used to work with existing wrapper functions or
|
||||
* if you just need the interp value for some reason. When used,
|
||||
* the 'interp' parameter becomes hidden in the Tcl interface--that
|
||||
* is, you don't specify it explicitly. SWIG fills in its value
|
||||
* automatically.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%typemap(in,numinputs=0) Tcl_Interp *interp {
|
||||
$1 = interp;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __tcl_tclkw_swg__
|
||||
#define __tcl_tclkw_swg__
|
||||
#ifndef TCL_TCLKW_SWG_
|
||||
#define TCL_TCLKW_SWG_
|
||||
|
||||
// Some special reserved words in classes
|
||||
|
||||
|
|
@ -7,4 +7,4 @@
|
|||
%keywordwarn("configure is a tcl reserved method name") *::configure;
|
||||
|
||||
|
||||
#endif //__tcl_tclkw_swg__
|
||||
#endif //_TCL_TCLKW_SWG_
|
||||
|
|
|
|||
|
|
@ -1,9 +1,17 @@
|
|||
/* C++ overloaded operators.
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* These declarations define how SWIG is going to rename C++
|
||||
* overloaded operators in Tcl. Since Tcl allows identifiers
|
||||
* to be essentially any valid string, we'll just use the
|
||||
* normal operator names.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
These declarations define how SWIG is going to rename C++
|
||||
overloaded operators in Tcl. Since Tcl allows identifiers
|
||||
to be essentially any valid string, we'll just use the
|
||||
normal operator names */
|
||||
|
||||
#ifdef __cplusplus
|
||||
%rename("+") *::operator+;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
int Tcl_Result
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
/***********************************************************************
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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 code for managing global variables and pointer
|
||||
* type checking.
|
||||
*
|
||||
************************************************************************/
|
||||
* This file contains the runtime support for Tcl modules and includes
|
||||
* code for managing global variables and pointer type checking.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* Common SWIG API */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
// $Header$
|
||||
//
|
||||
// SWIG File for building new tclsh program
|
||||
// Dave Beazley
|
||||
// April 25, 1996
|
||||
//
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef AUTODOC
|
||||
%subsection "tclsh.i"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
/* ------------------------------------------------------------
|
||||
* utility methods for wchar strings
|
||||
* ------------------------------------------------------------ */
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%{
|
||||
#include <wchar.h>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* 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
|
||||
* of typemaps for modifying Swig's code generation.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#if !defined(SWIG_USE_OLD_TYPEMAPS)
|
||||
%include <typemaps/typemaps.swg>
|
||||
#else
|
||||
/* -----------------------------------------------------------------------------
|
||||
* typemaps.i
|
||||
*
|
||||
* Swig typemap library for Tcl8. This file contains various sorts
|
||||
* of typemaps for modifying Swig's code generation.
|
||||
*
|
||||
* Author: David Beazley (beazley@cs.uchicago.edu)
|
||||
*
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
The SWIG typemap library provides a language independent mechanism for
|
||||
|
|
|
|||
|
|
@ -1,34 +1,11 @@
|
|||
//
|
||||
// $Header$
|
||||
//
|
||||
// SWIG File for making wish
|
||||
// Dave Beazley
|
||||
// April 25, 1996
|
||||
//
|
||||
/* Revision History
|
||||
* $Log$
|
||||
* Revision 1.4 2005/11/26 09:28:20 wsfulton
|
||||
* Use the system angle brackets for %include
|
||||
/* -----------------------------------------------------------------------------
|
||||
* 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.
|
||||
*
|
||||
* Revision 1.3 2002/11/30 22:10:09 beazley
|
||||
* *** empty log message ***
|
||||
* wish.i
|
||||
*
|
||||
* Revision 1.1.2.1 2001/06/20 11:47:29 mkoeppe
|
||||
* Portability fixes
|
||||
*
|
||||
* Revision 1.1 2000/01/11 21:15:54 beazley
|
||||
* Added files
|
||||
*
|
||||
* Revision 1.2 1999/11/05 21:45:14 beazley
|
||||
* Minor Changes
|
||||
*
|
||||
* Revision 1.1.1.1 1999/02/28 02:00:56 beazley
|
||||
* Swig1.1
|
||||
*
|
||||
* Revision 1.1 1996/05/22 19:47:45 beazley
|
||||
* Initial revision
|
||||
*
|
||||
*/
|
||||
* SWIG File for making wish
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef AUTODOC
|
||||
%subsection "wish.i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue