From 49be05f4fd2fb9f41330b4eb82091a04ba314939 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 7 Mar 2006 00:14:10 +0000 Subject: [PATCH] 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 --- Lib/attribute.i | 10 +++++- Lib/carrays.i | 9 +++--- Lib/cdata.i | 9 +++++- Lib/clisp/clisp.swg | 7 +++++ Lib/cmalloc.i | 9 +++--- Lib/constraints.i | 20 +++++++----- Lib/cpointer.i | 9 +++--- Lib/cstring.i | 7 +++++ Lib/cwstring.i | 7 +++++ Lib/exception.i | 14 +++++---- Lib/gcj/cni.swg | 9 ++++-- Lib/guile/cplusplus.i | 11 +++++-- Lib/guile/guile.i | 9 +++++- Lib/guile/guile_gh.swg | 13 +++++--- Lib/guile/guile_gh_run.swg | 11 ++++--- Lib/guile/guile_scm.swg | 13 +++++--- Lib/guile/guile_scm_run.swg | 10 +++--- Lib/guile/guilemain.i | 36 ++++++---------------- Lib/guile/interpreter.i | 21 ++++--------- Lib/guile/list-vector.i | 15 ++++----- Lib/guile/pointer-in-out.i | 14 +++++---- Lib/guile/ports.i | 13 +++++--- Lib/guile/std_common.i | 14 +++++---- Lib/guile/std_map.i | 14 +++++---- Lib/guile/std_pair.i | 14 +++++---- Lib/guile/std_string.i | 14 +++++---- Lib/guile/std_vector.i | 14 +++++---- Lib/guile/stl.i | 10 +++++- Lib/guile/typemaps.i | 12 +++++--- Lib/inttypes.i | 12 ++++++-- Lib/java/arrays_java.i | 38 ++++++++++++----------- Lib/java/director.swg | 16 +++++----- Lib/java/enums.swg | 5 +++ Lib/java/enumsimple.swg | 5 +++ Lib/java/enumtypesafe.swg | 5 +++ Lib/java/enumtypeunsafe.swg | 5 +++ Lib/java/java.swg | 4 ++- Lib/java/javahead.swg | 3 ++ Lib/java/javakw.swg | 6 ++-- Lib/java/std_except.i | 13 ++++++-- Lib/java/std_map.i | 14 +++++---- Lib/java/std_pair.i | 14 +++++---- Lib/java/std_string.i | 26 ++++++++-------- Lib/java/std_vector.i | 7 +++++ Lib/java/std_wstring.i | 27 ++++++++++------- Lib/java/stl.i | 8 ++++- Lib/java/typemaps.i | 26 ++++++++-------- Lib/java/various.i | 12 +++++--- Lib/lua/_std_common.i | 11 ++++--- Lib/lua/lua.swg | 14 ++++----- Lib/lua/luarun.swg | 15 ++++----- Lib/lua/std_except.i | 14 +++++++-- Lib/lua/std_pair.i | 11 ++++--- Lib/lua/std_string.i | 11 ++++--- Lib/lua/std_vector.i | 13 ++++---- Lib/lua/typemaps.i | 10 +++++- Lib/math.i | 10 +++++- Lib/mzscheme/mzrun.swg | 12 ++++---- Lib/mzscheme/mzscheme.swg | 12 ++++++-- Lib/mzscheme/std_common.i | 14 +++++---- Lib/mzscheme/std_map.i | 14 +++++---- Lib/mzscheme/std_pair.i | 14 +++++---- Lib/mzscheme/std_string.i | 14 +++++---- Lib/mzscheme/std_vector.i | 14 +++++---- Lib/mzscheme/stl.i | 9 +++++- Lib/mzscheme/typemaps.i | 12 ++++---- Lib/ocaml/cstring.i | 11 +++---- Lib/ocaml/director.swg | 14 ++++----- Lib/ocaml/ocaml.i | 12 +++++--- Lib/ocaml/ocamldec.swg | 11 ++++--- Lib/ocaml/ocamlkw.swg | 6 ++-- Lib/ocaml/std_common.i | 15 ++++----- Lib/ocaml/std_deque.i | 10 +++++- Lib/ocaml/std_list.i | 15 ++++----- Lib/ocaml/std_map.i | 14 +++++---- Lib/ocaml/std_pair.i | 14 +++++---- Lib/ocaml/std_string.i | 15 ++++----- Lib/ocaml/std_vector.i | 15 ++++----- Lib/ocaml/stl.i | 10 +++++- Lib/ocaml/typecheck.i | 11 ++++--- Lib/ocaml/typemaps.i | 19 ++++++------ Lib/perl5/perlmain.i | 11 +++++-- Lib/perl5/perlrun.swg | 12 ++++---- Lib/perl5/reference.i | 10 ++++-- Lib/perl5/std_common.i | 14 +++++---- Lib/perl5/std_list.i | 15 ++++----- Lib/perl5/std_map.i | 14 +++++---- Lib/perl5/std_pair.i | 14 +++++---- Lib/perl5/std_vector.i | 18 +++++------ Lib/perl5/stl.i | 9 +++++- Lib/perl5/typemaps.i | 32 ++++++++------------ Lib/php4/const.i | 9 +++++- Lib/php4/globalvar.i | 9 +++++- Lib/php4/php4.swg | 10 +++--- Lib/php4/php4kw.swg | 13 +++++--- Lib/php4/php4run.swg | 10 +++--- Lib/php4/std_common.i | 14 +++++---- Lib/php4/std_map.i | 14 +++++---- Lib/php4/std_pair.i | 14 +++++---- Lib/php4/std_string.i | 15 ++++----- Lib/php4/std_vector.i | 14 +++++---- Lib/php4/stl.i | 10 +++++- Lib/php4/typemaps.i | 57 +++++++++++++++++------------------ Lib/pike/pike.swg | 3 ++ Lib/pike/pikekw.swg | 6 ++-- Lib/pike/pikerun.swg | 15 ++++----- Lib/pike/std_string.i | 14 +++++---- Lib/pointer.i | 7 +++++ Lib/ruby/director.swg | 11 +++---- Lib/ruby/rubykw.swg | 6 ++-- Lib/ruby/rubyprimtypes.swg | 9 +++++- Lib/ruby/rubyrun.swg | 8 ++++- Lib/ruby/rubytracking.swg | 8 +++-- Lib/ruby/std_common.i | 14 +++++---- Lib/ruby/std_map.i | 14 +++++---- Lib/ruby/std_pair.i | 14 +++++---- Lib/ruby/std_vector.i | 14 +++++---- Lib/ruby/stl.i | 10 +++++- Lib/std/_std_deque.i | 10 ++++-- Lib/std_except.i | 41 ++++++++++++++----------- Lib/stdint.i | 11 +++++-- Lib/stl.i | 7 +++++ Lib/swigarch.i | 47 ++++++++++++++++------------- Lib/swigrun.i | 10 +++++- Lib/tcl/mactclinit.c | 7 +++++ Lib/tcl/mactkinit.c | 13 ++++++-- Lib/tcl/std_common.i | 14 +++++---- Lib/tcl/std_pair.i | 14 +++++---- Lib/tcl/std_vector.i | 12 ++++---- Lib/tcl/stl.i | 7 +++++ Lib/tcl/tcl8.swg | 9 ++++-- Lib/tcl/tclfragments.swg | 9 ++++-- Lib/tcl/tclinterp.i | 26 +++++++++------- Lib/tcl/tclkw.swg | 6 ++-- Lib/tcl/tclopers.swg | 18 ++++++++--- Lib/tcl/tclresult.i | 7 +++++ Lib/tcl/tclrun.swg | 13 ++++---- Lib/tcl/tclsh.i | 14 +++++---- Lib/tcl/tclwstrings.swg | 11 +++++-- Lib/tcl/typemaps.i | 19 ++++++------ Lib/tcl/wish.i | 35 ++++----------------- Lib/typemaps/attribute.swg | 11 +++++-- Lib/typemaps/carrays.swg | 7 ++--- Lib/typemaps/cdata.swg | 7 ++--- Lib/typemaps/cmalloc.swg | 7 ++--- Lib/typemaps/cpointer.swg | 6 ++-- Lib/typemaps/cstrings.swg | 10 +++--- Lib/typemaps/exception.swg | 10 +++++- Lib/typemaps/ptrtypes.swg | 10 ++++-- Lib/typemaps/swigtypemaps.swg | 7 ++++- Lib/typemaps/typemaps.swg | 32 +++++++------------- Lib/wchar.i | 11 +++++-- Lib/windows.i | 11 +++++-- 153 files changed, 1209 insertions(+), 801 deletions(-) diff --git a/Lib/attribute.i b/Lib/attribute.i index 8ddc88a81..57f4903e9 100644 --- a/Lib/attribute.i +++ b/Lib/attribute.i @@ -1,5 +1,13 @@ +/* ----------------------------------------------------------------------------- + * 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. + * + * attribute.i + * + * SWIG library file for implementing attributes. + * ----------------------------------------------------------------------------- */ + /* - Attribute implementation using JOHN E LENZ ideas. The following macros convert a pair of set/get methods into a "native" attribute. diff --git a/Lib/carrays.i b/Lib/carrays.i index 7eac65e4a..738b4577a 100644 --- a/Lib/carrays.i +++ b/Lib/carrays.i @@ -1,12 +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. + * * carrays.i * - * Author(s): David Beazley (beazley@cs.uchicago.edu) - * - * This library file contains macros that can be used to manipulate simple + * SWIG library file containing macros that can be used to manipulate simple * pointers as arrays. - * - * $Header$ * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- diff --git a/Lib/cdata.i b/Lib/cdata.i index d135b2c66..ac30352db 100644 --- a/Lib/cdata.i +++ b/Lib/cdata.i @@ -1,9 +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. + * * cdata.i + * + * SWIG library file containing macros for manipulating raw C data as strings. + * ----------------------------------------------------------------------------- */ + +/* ----------------------------------------------------------------------------- * * Author(s): David Beazley (beazley@cs.uchicago.edu) * - * This library file contains macros for manipulating raw C data as strings. * * $Header$ * ----------------------------------------------------------------------------- */ diff --git a/Lib/clisp/clisp.swg b/Lib/clisp/clisp.swg index 95410e0fe..fb6cdbf2a 100644 --- a/Lib/clisp/clisp.swg +++ b/Lib/clisp/clisp.swg @@ -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. + * + * clisp.swg + * ----------------------------------------------------------------------------- */ + /* Define a C preprocessor symbol that can be used in interface files to distinguish between the SWIG language modules. */ diff --git a/Lib/cmalloc.i b/Lib/cmalloc.i index a1014ba25..03a61351c 100644 --- a/Lib/cmalloc.i +++ b/Lib/cmalloc.i @@ -1,12 +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. + * * cmalloc.i * - * Author(s): David Beazley (beazley@cs.uchicago.edu) - * - * This library file contains macros that can be used to create objects using + * SWIG library file containing macros that can be used to create objects using * the C malloc function. - * - * $Header$ * ----------------------------------------------------------------------------- */ %{ diff --git a/Lib/constraints.i b/Lib/constraints.i index 818aebc63..1924f8ae9 100644 --- a/Lib/constraints.i +++ b/Lib/constraints.i @@ -1,11 +1,15 @@ -// -// SWIG constraint library -// Dave Beazley -// May 4, 1997 -// -// This library file contains typemaps for implementing various kinds of -// constraints. Depends upon the SWIG exception library for generating -// errors in a language-independent manner. +/* ----------------------------------------------------------------------------- + * 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. + * + * constraints.i + * + * SWIG constraints library. + * + * SWIG library file containing typemaps for implementing various kinds of + * constraints. Depends upon the SWIG exception library for generating + * errors in a language-independent manner. + * ----------------------------------------------------------------------------- */ #ifdef AUTODOC %text %{ diff --git a/Lib/cpointer.i b/Lib/cpointer.i index e9275fc1b..1a6e51741 100644 --- a/Lib/cpointer.i +++ b/Lib/cpointer.i @@ -1,12 +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. + * * cpointer.i * - * Author(s): David Beazley (beazley@cs.uchicago.edu) - * - * This library file contains macros that can be used to manipulate simple + * SWIG library file containing macros that can be used to manipulate simple * pointer objects. - * - * $Header$ * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- diff --git a/Lib/cstring.i b/Lib/cstring.i index 27a25e01f..4ebdf6857 100644 --- a/Lib/cstring.i +++ b/Lib/cstring.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. + * + * cstring.i + * ----------------------------------------------------------------------------- */ + %echo "cstring.i not implemented for this target" #define SWIG_CSTRING_UNIMPL diff --git a/Lib/cwstring.i b/Lib/cwstring.i index 22c3e6a30..a6b08ae40 100644 --- a/Lib/cwstring.i +++ b/Lib/cwstring.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. + * + * cwstring.i + * ----------------------------------------------------------------------------- */ + %echo "cwstring.i not implemented for this target" #define SWIG_CWSTRING_UNIMPL diff --git a/Lib/exception.i b/Lib/exception.i index b6df57046..39e647b2a 100644 --- a/Lib/exception.i +++ b/Lib/exception.i @@ -1,9 +1,11 @@ -// -// exception.i -// Dave Beazley -// April 14, 1997 -// -// This SWIG library file provides language independent exception handling +/* ----------------------------------------------------------------------------- + * 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. + * + * exception.i + * + * SWIG library file providing language independent exception handling + * ----------------------------------------------------------------------------- */ #if defined(SWIGUTL) #error "This version of exception.i should not be used" diff --git a/Lib/gcj/cni.swg b/Lib/gcj/cni.swg index 68f329e23..247909a4a 100644 --- a/Lib/gcj/cni.swg +++ b/Lib/gcj/cni.swg @@ -1,6 +1,9 @@ -/* - Swig especial -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * cni.swg + * ----------------------------------------------------------------------------- */ #ifdef SWIG diff --git a/Lib/guile/cplusplus.i b/Lib/guile/cplusplus.i index 39b12d5ee..cb4cf7434 100644 --- a/Lib/guile/cplusplus.i +++ b/Lib/guile/cplusplus.i @@ -1,6 +1,11 @@ -/* SWIG typemaps for C++ */ - -/* By Marcio Luis Teixeira : */ +/* ----------------------------------------------------------------------------- + * 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. + * + * cplusplus.i + * + * SWIG typemaps for C++ + * ----------------------------------------------------------------------------- */ %typemap(guile,out) string, std::string { $result = gh_str02scm(const_cast($1.c_str())); diff --git a/Lib/guile/guile.i b/Lib/guile/guile.i index 96c3a1885..1bf28d6f3 100644 --- a/Lib/guile/guile.i +++ b/Lib/guile/guile.i @@ -1,4 +1,11 @@ -/* SWIG Configuration File for Guile. -*-c-*-*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * guile.i + * + * SWIG Configuration File for Guile. + * ----------------------------------------------------------------------------- */ /* Macro for inserting Scheme code into the stub */ #define %scheme %insert("scheme") diff --git a/Lib/guile/guile_gh.swg b/Lib/guile/guile_gh.swg index 869771b92..6412a4c61 100644 --- a/Lib/guile/guile_gh.swg +++ b/Lib/guile/guile_gh.swg @@ -1,7 +1,12 @@ -/* -*- c -*- - This SWIG interface file is processed if the Guile module is run - with gh_ flavor. -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * guile_gh.swg + * + * This SWIG interface file is processed if the Guile module is run + * with gh_ flavor. + * ----------------------------------------------------------------------------- */ #define SWIGGUILE_GH diff --git a/Lib/guile/guile_gh_run.swg b/Lib/guile/guile_gh_run.swg index 8127ec15a..0df6f36fd 100644 --- a/Lib/guile/guile_gh_run.swg +++ b/Lib/guile/guile_gh_run.swg @@ -1,10 +1,11 @@ -/* -*- c -*- - * ----------------------------------------------------------------------- - * Lib/guile/guile_gh_run.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. + * + * guile_gh_run.swg * * Guile GH runtime file - * Copyright (C) 2004 John Lenz - * ----------------------------------------------------------------------- */ + * ----------------------------------------------------------------------------- */ #define SWIGGUILE #include "guile/gh.h" diff --git a/Lib/guile/guile_scm.swg b/Lib/guile/guile_scm.swg index 0ca98e818..caded728d 100644 --- a/Lib/guile/guile_scm.swg +++ b/Lib/guile/guile_scm.swg @@ -1,7 +1,12 @@ -/* -*- c -*- - This SWIG interface file is processed if the Guile module is run - with SCM_ flavor. -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * guile_scm.swg + * + * This SWIG interface file is processed if the Guile module is run + * with SCM_ flavor. + * ----------------------------------------------------------------------------- */ #define SWIGGUILE_SCM diff --git a/Lib/guile/guile_scm_run.swg b/Lib/guile/guile_scm_run.swg index 6828ea7f9..ecff9cab4 100644 --- a/Lib/guile/guile_scm_run.swg +++ b/Lib/guile/guile_scm_run.swg @@ -1,9 +1,9 @@ -/* -*- c -*- - * ----------------------------------------------------------------------- - * swig_lib/guile/guile_scm_run.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. * - * Author: John Lenz - * ----------------------------------------------------------------------- */ + * guile_scm_run.swg + * ----------------------------------------------------------------------------- */ #include #include diff --git a/Lib/guile/guilemain.i b/Lib/guile/guilemain.i index 7d5eacf30..6f4e4d94d 100644 --- a/Lib/guile/guilemain.i +++ b/Lib/guile/guilemain.i @@ -1,29 +1,13 @@ -/* -* Copyright (C) 1996, 1997 Free Software Foundation, Inc. -* Copyright (C) 2000 Dr.-Ing. Martin Froehlich -* -* PURPOSE OF THIS FILE: The main functions for a user augmented guile -* version that can handle wrapped calls as generated by the Simplified -* Wrapper and Interface Generator (SWIG 1.1) -* -* - Automatic Version Information via RCS/CVS: -* $Id$ -* $Source$ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * guilemain.i + * + * The main functions for a user augmented guile + * version that can handle wrapped calls as generated by SWIG + * ----------------------------------------------------------------------------- */ + %{ #include diff --git a/Lib/guile/interpreter.i b/Lib/guile/interpreter.i index d17a721e9..7e8f0777a 100644 --- a/Lib/guile/interpreter.i +++ b/Lib/guile/interpreter.i @@ -1,20 +1,11 @@ -// -// $Header$ -// -// SWIG file for a simple Guile interpreter -// -/* Revision History - * $Log$ - * Revision 1.1 2000/01/11 21:15:50 beazley - * Added files +/* ----------------------------------------------------------------------------- + * 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.1.1.1 1999/02/28 02:00:54 beazley - * Swig1.1 + * interpreter.i * - * Revision 1.1 1996/05/22 20:02:10 beazley - * Initial revision - * - */ + * SWIG file for a simple Guile interpreter + * ----------------------------------------------------------------------------- */ %{ diff --git a/Lib/guile/list-vector.i b/Lib/guile/list-vector.i index 58955684d..7c22b5dbd 100644 --- a/Lib/guile/list-vector.i +++ b/Lib/guile/list-vector.i @@ -1,10 +1,11 @@ -/* list-vector.i --- Guile typemaps for converting between -*- c -*- arrays - and Scheme lists or vectors - - Copyright (C) 2001, 2002 Matthias Koeppe - - $Header$ -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * list_vector.i + * + * Guile typemaps for converting between arrays and Scheme lists or vectors + * ----------------------------------------------------------------------------- */ /* Here is a macro that will define typemaps for converting between C arrays and Scheme lists or vectors when passing arguments to the C diff --git a/Lib/guile/pointer-in-out.i b/Lib/guile/pointer-in-out.i index fdaf52f11..bc6438759 100644 --- a/Lib/guile/pointer-in-out.i +++ b/Lib/guile/pointer-in-out.i @@ -1,9 +1,11 @@ -/* pointer-in-out.i --- Guile typemaps for passing -*- c -*- pointers indirectly - - Copyright (C) 2001, 2003 Matthias Koeppe - - $Header$ -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * pointer-in-out.i + * + * Guile typemaps for passing pointers indirectly + * ----------------------------------------------------------------------------- */ /* Here is a macro that will define typemaps for passing C pointers indirectly. diff --git a/Lib/guile/ports.i b/Lib/guile/ports.i index b99630f20..0d0e142e1 100644 --- a/Lib/guile/ports.i +++ b/Lib/guile/ports.i @@ -1,8 +1,11 @@ -/* ports.i --- Guile typemaps for handling ports -*- c -*- - Copyright (C) 2000, 2004 Matthias Koeppe - - $Header$ -*/ +/* ----------------------------------------------------------------------------- + * 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. + * + * ports.i + * + * Guile typemaps for handling ports + * ----------------------------------------------------------------------------- */ %{ #ifndef _POSIX_SOURCE diff --git a/Lib/guile/std_common.i b/Lib/guile/std_common.i index f54947d3d..ace5d65a8 100644 --- a/Lib/guile/std_common.i +++ b/Lib/guile/std_common.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for STL - common utilities -// Luigi Ballabio -// Aug 3, 2002 -// -// Guile 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 diff --git a/Lib/guile/std_map.i b/Lib/guile/std_map.i index f6c97f83a..cc53e1560 100644 --- a/Lib/guile/std_map.i +++ b/Lib/guile/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 2003 -// -// Guile 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/guile/std_pair.i b/Lib/guile/std_pair.i index c4229d2da..801ca7ad0 100644 --- a/Lib/guile/std_pair.i +++ b/Lib/guile/std_pair.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::pair -// Luigi Ballabio -// July 2003 -// -// Guile 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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/guile/std_string.i b/Lib/guile/std_string.i index 588976acc..0e341ed0c 100644 --- a/Lib/guile/std_string.i +++ b/Lib/guile/std_string.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::string -// Luigi Ballabio -// Apr 8, 2002 -// -// Guile 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_string.i + * + * SWIG typemaps for std::string + * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // std::string is typemapped by value diff --git a/Lib/guile/std_vector.i b/Lib/guile/std_vector.i index cb0da4cd5..145db945b 100644 --- a/Lib/guile/std_vector.i +++ b/Lib/guile/std_vector.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::vector -// Luigi Ballabio -// Apr 8, 2002 -// -// Guile 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 + * + * SWIG typemaps for std::vector + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/guile/stl.i b/Lib/guile/stl.i index a3566db5c..66b72e073 100644 --- a/Lib/guile/stl.i +++ b/Lib/guile/stl.i @@ -1,4 +1,12 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/guile/typemaps.i b/Lib/guile/typemaps.i index 4dbf8962f..332dc02ed 100644 --- a/Lib/guile/typemaps.i +++ b/Lib/guile/typemaps.i @@ -1,7 +1,11 @@ -/* typemaps.i --- guile-specific typemaps -*- c -*- - Copyright (C) 2000 Matthias Koeppe - - $Header$ */ +/* ----------------------------------------------------------------------------- + * 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 + * + * Guile-specific typemaps + * ----------------------------------------------------------------------------- */ /* Pointers */ diff --git a/Lib/inttypes.i b/Lib/inttypes.i index 7f4dab618..0cc81948e 100644 --- a/Lib/inttypes.i +++ b/Lib/inttypes.i @@ -1,6 +1,12 @@ -/* - * ISO C99: 7.8 Format conversion of integer types - */ +/* ----------------------------------------------------------------------------- + * 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. + * + * inttypes.i + * + * SWIG library file for ISO C99 types: 7.8 Format conversion of integer types + * ----------------------------------------------------------------------------- */ + %{ #include %} diff --git a/Lib/java/arrays_java.i b/Lib/java/arrays_java.i index 4cf21bce3..4fb33dd9b 100644 --- a/Lib/java/arrays_java.i +++ b/Lib/java/arrays_java.i @@ -1,24 +1,28 @@ -/* arrays_java.i +/* ----------------------------------------------------------------------------- + * 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. + * + * arrays_java.i + * * These typemaps give more natural support for arrays. The typemaps are not efficient * as there is a lot of copying of the array values whenever the array is passed to C/C++ * from Java and visa versa. The Java array is expected to be the same size as the C array. * An exception is thrown if they are not. - - Example usage: - Wrapping: - - %include - %inline %{ - short FiddleSticks[3]; - %} - - Use from Java like this: - - short[] fs = new short[] {10, 11, 12}; - example.setFiddleSticks(fs); - fs = example.getFiddleSticks(); - - */ + * + * Example usage: + * Wrapping: + * + * %include + * %inline %{ + * short FiddleSticks[3]; + * %} + * + * Use from Java like this: + * + * short[] fs = new short[] {10, 11, 12}; + * example.setFiddleSticks(fs); + * fs = example.getFiddleSticks(); + * ----------------------------------------------------------------------------- */ /* Primitive array support is a combination of SWIG macros and functions in order to reduce * code bloat and aid maintainability. The SWIG preprocessor expands the macros into functions diff --git a/Lib/java/director.swg b/Lib/java/director.swg index 275a7ea68..e62fc6cc5 100644 --- a/Lib/java/director.swg +++ b/Lib/java/director.swg @@ -1,14 +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. + * * director.swg * - * This file contains support for director classes that proxy - * method calls from C++ to Java extensions. - * - * Author : Scott Michel (scottm@aero.org) - * - * This file was adapted from the python director.swg, written by - * Mark Rose (mrose@stm.lbl.gov) - ************************************************************************/ + * This file contains support for director classes that proxy + * method calls from C++ to Java extensions. + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus diff --git a/Lib/java/enums.swg b/Lib/java/enums.swg index 1e5bcc1ed..8edd3a8bd 100644 --- a/Lib/java/enums.swg +++ b/Lib/java/enums.swg @@ -1,4 +1,9 @@ /* ----------------------------------------------------------------------------- + * 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. + * + * enums.swg + * * Include this file in order for C/C++ enums to be wrapped by proper Java enums. * Note that the JNI layer handles the enum as an int. The Java enum has extra * code generated to store the C++ int value. This is required for C++ enums that diff --git a/Lib/java/enumsimple.swg b/Lib/java/enumsimple.swg index 8164836d4..deb8b8f11 100644 --- a/Lib/java/enumsimple.swg +++ b/Lib/java/enumsimple.swg @@ -1,4 +1,9 @@ /* ----------------------------------------------------------------------------- + * 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. + * + * enumsimple.swg + * * This file provides backwards compatible enum wrapping. SWIG versions 1.3.21 * and earlier wrapped global enums with constant integers in the module class * or Constants interface. Enums declared within a C++ class were wrapped by diff --git a/Lib/java/enumtypesafe.swg b/Lib/java/enumtypesafe.swg index 3e805550f..e2af7ee6b 100644 --- a/Lib/java/enumtypesafe.swg +++ b/Lib/java/enumtypesafe.swg @@ -1,4 +1,9 @@ /* ----------------------------------------------------------------------------- + * 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. + * + * enumtypesafe.swg + * * Include this file in order for C/C++ enums to be wrapped by the so called * typesafe enum pattern. Each enum has an equivalent Java class named after the * enum and each enum item is a static instance of this class. diff --git a/Lib/java/enumtypeunsafe.swg b/Lib/java/enumtypeunsafe.swg index 2b5f73c09..fc32932e4 100644 --- a/Lib/java/enumtypeunsafe.swg +++ b/Lib/java/enumtypeunsafe.swg @@ -1,4 +1,9 @@ /* ----------------------------------------------------------------------------- + * 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. + * + * enumtypeunsafe.swg + * * Include this file in order for C/C++ enums to be wrapped by integers values. * Each enum has an equivalent class named after the enum and the enum items are * wrapped by constant integers within this class. The enum items are not diff --git a/Lib/java/java.swg b/Lib/java/java.swg index 1e822a521..015c24f33 100644 --- a/Lib/java/java.swg +++ b/Lib/java/java.swg @@ -1,10 +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. + * * java.swg * * Java typemaps * ----------------------------------------------------------------------------- */ - %include /* The jni, jtype and jstype typemaps work together and so there should be one of each. diff --git a/Lib/java/javahead.swg b/Lib/java/javahead.swg index f348b9d54..4aa0c84b5 100644 --- a/Lib/java/javahead.swg +++ b/Lib/java/javahead.swg @@ -1,4 +1,7 @@ /* ----------------------------------------------------------------------------- + * 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. + * * javahead.swg * * Java support code diff --git a/Lib/java/javakw.swg b/Lib/java/javakw.swg index 58f93a21c..9dcd97062 100644 --- a/Lib/java/javakw.swg +++ b/Lib/java/javakw.swg @@ -1,5 +1,5 @@ -#ifndef __java_javakw_swg__ -#define __java_javakw_swg__ +#ifndef JAVA_JAVAKW_SWG_ +#define JAVA_JAVAKW_SWG_ /* Warnings for Java keywords */ #define JAVAKW(x) %namewarn("314:" #x " is a java keyword") #x @@ -67,4 +67,4 @@ JAVAKW(while); #undef JAVAKW -#endif //__java_javakw_swg__ +#endif //JAVA_JAVAKW_SWG_ diff --git a/Lib/java/std_except.i b/Lib/java/std_except.i index 3428934ba..15be1deb8 100644 --- a/Lib/java/std_except.i +++ b/Lib/java/std_except.i @@ -1,6 +1,13 @@ -// Typemaps used by the STL wrappers that throw exceptions. -// These typemaps are used when methods are declared with an STL exception specification, such as -// size_t at() const throw (std::out_of_range); +/* ----------------------------------------------------------------------------- + * 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_except.i + * + * Typemaps used by the STL wrappers that throw exceptions. + * These typemaps are used when methods are declared with an STL exception specification, such as + * size_t at() const throw (std::out_of_range); + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/java/std_map.i b/Lib/java/std_map.i index 006a62efd..c35f21dc7 100644 --- a/Lib/java/std_map.i +++ b/Lib/java/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/java/std_pair.i b/Lib/java/std_pair.i index 98c239cde..dc0604dc5 100644 --- a/Lib/java/std_pair.i +++ b/Lib/java/std_pair.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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/java/std_string.i b/Lib/java/std_string.i index 7c983b7f4..d1da00364 100644 --- a/Lib/java/std_string.i +++ b/Lib/java/std_string.i @@ -1,17 +1,15 @@ -// -// SWIG typemaps for std::string -// Luigi Ballabio, Tal Shalif and William Fulton -// May 7, 2002 -// -// Java implementation -// -/* ------------------------------------------------------------------------ - Typemaps for std::string and const std::string& - These are mapped to a Java String and are passed around by value. - - To use non-const std::string references use the following %apply. Note - that they are passed by value. - %apply const std::string & {std::string &}; +/* ----------------------------------------------------------------------------- + * 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_string.i + * + * Typemaps for std::string and const std::string& + * These are mapped to a Java String and are passed around by value. + * + * To use non-const std::string references use the following %apply. Note + * that they are passed by value. + * %apply const std::string & {std::string &}; ------------------------------------------------------------------------ */ %{ diff --git a/Lib/java/std_vector.i b/Lib/java/std_vector.i index 6b7d978f6..807a93f2f 100644 --- a/Lib/java/std_vector.i +++ b/Lib/java/std_vector.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. + * + * std_vector.i + * ----------------------------------------------------------------------------- */ + %include %{ diff --git a/Lib/java/std_wstring.i b/Lib/java/std_wstring.i index fc72ffc1d..d46a28758 100644 --- a/Lib/java/std_wstring.i +++ b/Lib/java/std_wstring.i @@ -1,14 +1,19 @@ -/* ------------------------------------------------------------------------ - Typemaps for std::wstring and const std::wstring& - - These are mapped to a Java String and are passed around by value. - Warning: Unicode / multibyte characters are handled differently on different - OSs so the std::wstring typemaps may not always work as intended. - - To use non-const std::wstring references use the following %apply. Note - that they are passed by value. - %apply const std::wstring & {std::wstring &}; - ------------------------------------------------------------------------ */ +/* ----------------------------------------------------------------------------- + * 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_wstring.i + * + * Typemaps for std::wstring and const std::wstring& + * + * These are mapped to a Java String and are passed around by value. + * Warning: Unicode / multibyte characters are handled differently on different + * OSs so the std::wstring typemaps may not always work as intended. + * + * To use non-const std::wstring references use the following %apply. Note + * that they are passed by value. + * %apply const std::wstring & {std::wstring &}; + * ----------------------------------------------------------------------------- */ namespace std { diff --git a/Lib/java/stl.i b/Lib/java/stl.i index a3566db5c..b8d7a654c 100644 --- a/Lib/java/stl.i +++ b/Lib/java/stl.i @@ -1,4 +1,10 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 + * ----------------------------------------------------------------------------- */ + %include %include %include diff --git a/Lib/java/typemaps.i b/Lib/java/typemaps.i index b6b75826f..bb6cb7d81 100644 --- a/Lib/java/typemaps.i +++ b/Lib/java/typemaps.i @@ -1,17 +1,15 @@ -// -// SWIG Typemap library -// William Fulton -// 4 January 2002 -// -// Java implementation -// - -// ------------------------------------------------------------------------ -// Pointer and reference handling -// -// These mappings provide support for input/output arguments and common -// uses for C/C++ pointers and C++ references. -// ------------------------------------------------------------------------ +/* ----------------------------------------------------------------------------- + * 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 Java typemap library + * Pointer and reference handling + * + * These mappings provide support for input/output arguments and common + * uses for C/C++ pointers and C++ references. + * ----------------------------------------------------------------------------- */ // INPUT typemaps. // These remap a C pointer or C++ reference to be an "INPUT" value which is passed by value diff --git a/Lib/java/various.i b/Lib/java/various.i index c502de4b2..c53f08aa2 100644 --- a/Lib/java/various.i +++ b/Lib/java/various.i @@ -1,8 +1,12 @@ -/* - * SWIG Typemap library for Java - * Various useful typemaps. +/* ----------------------------------------------------------------------------- + * 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. * -*/ + * various.i + * + * SWIG Typemap library for Java. + * Various useful typemaps. + * ----------------------------------------------------------------------------- */ /* * char **STRING_ARRAY typemaps. diff --git a/Lib/lua/_std_common.i b/Lib/lua/_std_common.i index 3b30ae215..33cc513c3 100644 --- a/Lib/lua/_std_common.i +++ b/Lib/lua/_std_common.i @@ -1,10 +1,11 @@ -/*********************************************************************** - * _std_stl.i +/* ----------------------------------------------------------------------------- + * 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::helpers for LUA + * _std_common.i * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::helpers for LUA + * ----------------------------------------------------------------------------- */ %include // the general exepctions diff --git a/Lib/lua/lua.swg b/Lib/lua/lua.swg index 12cc55209..77b26b9f5 100644 --- a/Lib/lua/lua.swg +++ b/Lib/lua/lua.swg @@ -1,12 +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. + * * lua.swg * - * SWIG Configuration File for Lua - * This file is parsed by SWIG before reading any other interface - * file. - * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * SWIG Configuration File for Lua. + * This file is parsed by SWIG before reading any other interface file. + * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- * includes diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index dd156dad2..48bd9a79a 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1,12 +1,13 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * 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. + * * luarun.swg * - * This file contains the runtime support for Lua modules - * and includes code for managing global variables and pointer - * type checking. - * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * This file contains the runtime support for Lua modules + * and includes code for managing global variables and pointer + * type checking. + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { diff --git a/Lib/lua/std_except.i b/Lib/lua/std_except.i index 26930bd40..3732ebd44 100644 --- a/Lib/lua/std_except.i +++ b/Lib/lua/std_except.i @@ -1,6 +1,14 @@ -// Typemaps used by the STL wrappers that throw exceptions. -// These typemaps are used when methods are declared with an STL exception specification, such as -// size_t at() const throw (std::out_of_range); +/* ----------------------------------------------------------------------------- + * 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 used by the STL wrappers that throw exceptions. + * These typemaps are used when methods are declared with an STL exception + * specification, such as: + * size_t at() const throw (std::out_of_range); + * + * std_except.i + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_pair.i b/Lib/lua/std_pair.i index 725a91d71..1b20f74e0 100644 --- a/Lib/lua/std_pair.i +++ b/Lib/lua/std_pair.i @@ -1,10 +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. + * * std_pair.i * - * std::pair typemaps for LUA - * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::pair typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_string.i b/Lib/lua/std_string.i index 0d8e3f473..900024cda 100644 --- a/Lib/lua/std_string.i +++ b/Lib/lua/std_string.i @@ -1,10 +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. + * * std_string.i * - * std::string typemaps for LUA - * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::string typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_vector.i b/Lib/lua/std_vector.i index e6e589f90..c6778087f 100644 --- a/Lib/lua/std_vector.i +++ b/Lib/lua/std_vector.i @@ -1,10 +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. + * * std_vector.i * - * std::vector typemaps for LUA - * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::vector typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include @@ -130,4 +131,4 @@ int SWIG_write_number_vector(lua_State* L,std::vector *vec) %{ SWIG_write_number_vector(L,$1); SWIG_arg++; %} %enddef -*/ \ No newline at end of file +*/ diff --git a/Lib/lua/typemaps.i b/Lib/lua/typemaps.i index 9c013557f..cb942f26a 100644 --- a/Lib/lua/typemaps.i +++ b/Lib/lua/typemaps.i @@ -1,5 +1,13 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * 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.swg + * + * SWIG Library file containing the main typemap code to support Lua modules. + * ----------------------------------------------------------------------------- */ + +/*********************************************************************** * * This file contains the main typemap code to support Lua modules * diff --git a/Lib/math.i b/Lib/math.i index 752fa1e1a..3776efdb0 100644 --- a/Lib/math.i +++ b/Lib/math.i @@ -1,10 +1,18 @@ +/* ----------------------------------------------------------------------------- + * 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. + * + * math.i + * + * SWIG library file for floating point operations. + * ----------------------------------------------------------------------------- */ + /* * $Header$ * * math.i * Dave Beazley * March 24, 1996 - * SWIG file for floating point operations * */ diff --git a/Lib/mzscheme/mzrun.swg b/Lib/mzscheme/mzrun.swg index c61214698..52aa87aca 100644 --- a/Lib/mzscheme/mzrun.swg +++ b/Lib/mzscheme/mzrun.swg @@ -1,9 +1,9 @@ -/* -*- c -*- - * ----------------------------------------------------------------------- - * swig_lib/mzscheme/mzrun.swg - * - * Author: John Lenz - * ----------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------------- + * 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. + * + * mzrun.swg + * ----------------------------------------------------------------------------- */ #include #include diff --git a/Lib/mzscheme/mzscheme.swg b/Lib/mzscheme/mzscheme.swg index cc846c459..ed4b2ec9d 100644 --- a/Lib/mzscheme/mzscheme.swg +++ b/Lib/mzscheme/mzscheme.swg @@ -1,6 +1,12 @@ -/* SWIG Configuration File for MzScheme. -*-c-*- - This file is parsed by SWIG before reading any other interface - file. */ +/* ----------------------------------------------------------------------------- + * 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. + * + * mzscheme.swg + * + * SWIG Configuration File for MzScheme. + * This file is parsed by SWIG before reading any other interface file. + * ----------------------------------------------------------------------------- */ /* Include headers */ %runtime "swigrun.swg" // Common C API type-checking code diff --git a/Lib/mzscheme/std_common.i b/Lib/mzscheme/std_common.i index adc2baf3d..8732f811c 100644 --- a/Lib/mzscheme/std_common.i +++ b/Lib/mzscheme/std_common.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for STL - common utilities -// Luigi Ballabio -// Aug 3, 2002 -// -// MzScheme 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 diff --git a/Lib/mzscheme/std_map.i b/Lib/mzscheme/std_map.i index 808c343f5..aff720db6 100644 --- a/Lib/mzscheme/std_map.i +++ b/Lib/mzscheme/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 2003 -// -// MzScheme 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/mzscheme/std_pair.i b/Lib/mzscheme/std_pair.i index d0e8b12ea..c437e44ea 100644 --- a/Lib/mzscheme/std_pair.i +++ b/Lib/mzscheme/std_pair.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::pair -// Luigi Ballabio -// July 2003 -// -// MzScheme 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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/mzscheme/std_string.i b/Lib/mzscheme/std_string.i index 0781b5867..aa27bc0d8 100644 --- a/Lib/mzscheme/std_string.i +++ b/Lib/mzscheme/std_string.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::string types -// Luigi Ballabio -// Apr 8, 2002 -// -// MzScheme 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_string.i + * + * SWIG typemaps for std::string types + * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // std::string is typemapped by value diff --git a/Lib/mzscheme/std_vector.i b/Lib/mzscheme/std_vector.i index 409c66fc6..90a52fc0a 100644 --- a/Lib/mzscheme/std_vector.i +++ b/Lib/mzscheme/std_vector.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::vector -// Luigi Ballabio -// Apr 8, 2002 -// -// MzScheme 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 + * + * SWIG typemaps for std::vector + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/mzscheme/stl.i b/Lib/mzscheme/stl.i index a3566db5c..946e4b7f0 100644 --- a/Lib/mzscheme/stl.i +++ b/Lib/mzscheme/stl.i @@ -1,4 +1,11 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/mzscheme/typemaps.i b/Lib/mzscheme/typemaps.i index aa1e247db..334893242 100644 --- a/Lib/mzscheme/typemaps.i +++ b/Lib/mzscheme/typemaps.i @@ -1,9 +1,9 @@ -/* typemaps.i --- mzscheme typemaps -*- c -*- - Copyright 2000, 2001, 2004, 2006 Matthias Koeppe - Based on code written by Oleg Tolmatcev. - - $Id$ -*/ +/* ----------------------------------------------------------------------------- + * 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 + * ----------------------------------------------------------------------------- */ /* The MzScheme module handles all types uniformly via typemaps. Here are the definitions. */ diff --git a/Lib/ocaml/cstring.i b/Lib/ocaml/cstring.i index 67ed0e490..a810bdd49 100644 --- a/Lib/ocaml/cstring.i +++ b/Lib/ocaml/cstring.i @@ -1,15 +1,14 @@ -/* -*- C++ -*- - * cstring.i - * $Header$ +/* ----------------------------------------------------------------------------- + * 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. * - * Author(s): Art Yerkes - * Modified from David Beazley (beazley@cs.uchicago.edu) + * cstring.i * * This file provides typemaps and macros for dealing with various forms * of C character string handling. The primary use of this module * is in returning character data that has been allocated or changed in * some way. - */ + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ocaml/director.swg b/Lib/ocaml/director.swg index 147900b74..4ca6975f6 100644 --- a/Lib/ocaml/director.swg +++ b/Lib/ocaml/director.swg @@ -1,13 +1,13 @@ -/* -*- C++ -*- */ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * 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. + * * director.swg * - * This file contains support for director classes that proxy - * method calls from C++ to Ocaml extensions. + * This file contains support for director classes that proxy + * method calls from C++ to Ocaml extensions. * - * Modified for Ocaml by : Art Yerkes - * Original Author : Mark Rose (mrose@stm.lbl.gov) - ************************************************************************/ + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus diff --git a/Lib/ocaml/ocaml.i b/Lib/ocaml/ocaml.i index f5fb6e3fb..a46e239d1 100644 --- a/Lib/ocaml/ocaml.i +++ b/Lib/ocaml/ocaml.i @@ -1,7 +1,11 @@ -/* SWIG Configuration File for Ocaml. -*-c-*- - Modified from mzscheme.i - This file is parsed by SWIG before reading any other interface - file. */ +/* ----------------------------------------------------------------------------- + * 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. + * + * ocaml.i + * + * SWIG Configuration File for Ocaml + * ----------------------------------------------------------------------------- */ %runtime %{ #define SWIGSTATIC static diff --git a/Lib/ocaml/ocamldec.swg b/Lib/ocaml/ocamldec.swg index 86fb3bcd4..1f957f58d 100644 --- a/Lib/ocaml/ocamldec.swg +++ b/Lib/ocaml/ocamldec.swg @@ -1,10 +1,11 @@ -/* -*-c-*- - * ----------------------------------------------------------------------- - * ocaml/ocamldec.swg - * Copyright (C) 2000, 2001 Matthias Koeppe +/* ----------------------------------------------------------------------------- + * 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. + * + * ocamldec.swg * * Ocaml runtime code -- declarations - * ----------------------------------------------------------------------- */ + * ----------------------------------------------------------------------------- */ #include #include diff --git a/Lib/ocaml/ocamlkw.swg b/Lib/ocaml/ocamlkw.swg index 43ca0c65e..ba06f238e 100644 --- a/Lib/ocaml/ocamlkw.swg +++ b/Lib/ocaml/ocamlkw.swg @@ -1,5 +1,5 @@ -#ifndef __ocaml_ocamlkw_swg__ -#define __ocaml_ocamlkw_swg__ +#ifndef OCAML_OCAMLKW_SWG_ +#define OCAML_OCAMLKW_SWG_ /* Warnings for Ocaml keywords */ #define OCAMLKW(x) %namewarn("314:" #x " is a ocaml keyword and it will properly renamed") #x @@ -61,4 +61,4 @@ OCAMLKW(with); #undef OCAMLKW -#endif //__ocaml_ocamlkw_swg__ +#endif //OCAML_OCAMLKW_SWG_ diff --git a/Lib/ocaml/std_common.i b/Lib/ocaml/std_common.i index 5cc2b0d4b..b2dff61d2 100644 --- a/Lib/ocaml/std_common.i +++ b/Lib/ocaml/std_common.i @@ -1,10 +1,11 @@ -// -*- C++ -*- -// SWIG typemaps for STL - common utilities -// Art Yerkes -// Modified from: Luigi Ballabio -// Aug 3, 2002 -// -// Ocaml 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 diff --git a/Lib/ocaml/std_deque.i b/Lib/ocaml/std_deque.i index 4e6f71e21..44815ebda 100644 --- a/Lib/ocaml/std_deque.i +++ b/Lib/ocaml/std_deque.i @@ -1,4 +1,12 @@ -/* Default std_deque wrapper */ +/* ----------------------------------------------------------------------------- + * 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_deque.i + * + * Default std_deque wrapper + * ----------------------------------------------------------------------------- */ + %module std_deque %rename(__getitem__) std::deque::getitem; diff --git a/Lib/ocaml/std_list.i b/Lib/ocaml/std_list.i index 957ab35d3..0aea90767 100644 --- a/Lib/ocaml/std_list.i +++ b/Lib/ocaml/std_list.i @@ -1,10 +1,11 @@ -// -*- C++ -*- -// SWIG typemaps for std::list types -// Art Yerkes -// Modified from: Jing Cao -// Aug 1st, 2002 -// -// Python 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_list.i + * + * SWIG typemaps for std::list types + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ocaml/std_map.i b/Lib/ocaml/std_map.i index 1fd74ef3e..f174f2872 100644 --- a/Lib/ocaml/std_map.i +++ b/Lib/ocaml/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ocaml/std_pair.i b/Lib/ocaml/std_pair.i index 98c239cde..dc0604dc5 100644 --- a/Lib/ocaml/std_pair.i +++ b/Lib/ocaml/std_pair.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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/ocaml/std_string.i b/Lib/ocaml/std_string.i index e8abd81c2..7908e8877 100644 --- a/Lib/ocaml/std_string.i +++ b/Lib/ocaml/std_string.i @@ -1,10 +1,11 @@ -// -*- C++ -*- -// SWIG typemaps for std::string -// Art Yerkes -// Modified from: Luigi Ballabio -// Apr 8, 2002 -// -// Ocaml 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_string.i + * + * SWIG typemaps for std::string + * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // std::string is typemapped by value diff --git a/Lib/ocaml/std_vector.i b/Lib/ocaml/std_vector.i index cb5e5a002..91c335562 100644 --- a/Lib/ocaml/std_vector.i +++ b/Lib/ocaml/std_vector.i @@ -1,10 +1,11 @@ -// -*- C++ -*- -// SWIG typemaps for std::vector types -// Art Yerkes -// Modified from: Luigi Ballabio -// Apr 8, 2002 -// -// Ocaml 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 + * + * SWIG typemaps for std::vector types + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ocaml/stl.i b/Lib/ocaml/stl.i index a3566db5c..66b72e073 100644 --- a/Lib/ocaml/stl.i +++ b/Lib/ocaml/stl.i @@ -1,4 +1,12 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/ocaml/typecheck.i b/Lib/ocaml/typecheck.i index 68a0005f5..51e66061b 100644 --- a/Lib/ocaml/typecheck.i +++ b/Lib/ocaml/typecheck.i @@ -1,8 +1,11 @@ -/* -*- C++ -*- */ -/* Type checking code adapted from python backend. */ -/* ------------------------------------------------------------ +/* ----------------------------------------------------------------------------- + * 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. + * + * typecheck.i + * * Typechecking rules - * ------------------------------------------------------------ */ + * ----------------------------------------------------------------------------- */ %typecheck(SWIG_TYPECHECK_INTEGER) char, signed char, const char &, const signed char & { if( !Is_block($input) ) $1 = 0; diff --git a/Lib/ocaml/typemaps.i b/Lib/ocaml/typemaps.i index 556cfa702..b082d062b 100644 --- a/Lib/ocaml/typemaps.i +++ b/Lib/ocaml/typemaps.i @@ -1,13 +1,12 @@ -/* typemaps.i --- ocaml typemaps -*- c -*- - Ocaml conversion by Art Yerkes, modified from mzscheme/typemaps.i - Copyright 2000, 2001 Matthias Koeppe - Based on code written by Oleg Tolmatcev. - - $Id$ -*/ - -/* The Ocaml module handles all types uniformly via typemaps. Here - are the definitions. */ +/* ----------------------------------------------------------------------------- + * 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 + * + * The Ocaml module handles all types uniformly via typemaps. Here + * are the definitions. + * ----------------------------------------------------------------------------- */ /* Pointers */ diff --git a/Lib/perl5/perlmain.i b/Lib/perl5/perlmain.i index 4b4bac7a6..f224b9c75 100644 --- a/Lib/perl5/perlmain.i +++ b/Lib/perl5/perlmain.i @@ -1,6 +1,11 @@ -// $Header$ -// Code to statically rebuild perl5. -// +/* ----------------------------------------------------------------------------- + * 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. + * + * perlmain.i + * + * Code to statically rebuild perl5. + * ----------------------------------------------------------------------------- */ #ifdef AUTODOC %subsection "perlmain.i" diff --git a/Lib/perl5/perlrun.swg b/Lib/perl5/perlrun.swg index 6487d39e1..4d260ed71 100644 --- a/Lib/perl5/perlrun.swg +++ b/Lib/perl5/perlrun.swg @@ -1,11 +1,11 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- * perlrun.swg * - * This file contains the runtime support for Perl modules - * and includes code for managing global variables and pointer - * type checking. - * - ************************************************************************/ + * This file contains the runtime support for Perl modules + * and includes code for managing global variables and pointer + * type checking. + * ----------------------------------------------------------------------------- */ + #ifdef PERL_OBJECT #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl), #define SWIG_PERL_OBJECT_CALL pPerl, diff --git a/Lib/perl5/reference.i b/Lib/perl5/reference.i index ccb60bf2e..d3d745cfc 100644 --- a/Lib/perl5/reference.i +++ b/Lib/perl5/reference.i @@ -1,5 +1,11 @@ -// REFERENCE -// Accept Perl references as pointers +/* ----------------------------------------------------------------------------- + * 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. + * + * reference.i + * + * Accept Perl references as pointers + * ----------------------------------------------------------------------------- */ /* The following methods make Perl references work like simple C diff --git a/Lib/perl5/std_common.i b/Lib/perl5/std_common.i index d7bc1f7dc..b3e0b9b31 100644 --- a/Lib/perl5/std_common.i +++ b/Lib/perl5/std_common.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for STL - common utilities -// Luigi Ballabio -// May 16, 2003 -// -// Perl 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 diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i index 93591cf79..633e40d9a 100644 --- a/Lib/perl5/std_list.i +++ b/Lib/perl5/std_list.i @@ -1,10 +1,11 @@ -// -// SWIG typemaps for std::list types -// Lluis Padro -// June 3, 2003 -// based on existing std_vector.i - -// Perl 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_list.i + * + * SWIG typemaps for std::list types + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/perl5/std_map.i b/Lib/perl5/std_map.i index 006a62efd..c35f21dc7 100644 --- a/Lib/perl5/std_map.i +++ b/Lib/perl5/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/perl5/std_pair.i b/Lib/perl5/std_pair.i index bff9c91b0..78142ffa6 100644 --- a/Lib/perl5/std_pair.i +++ b/Lib/perl5/std_pair.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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/perl5/std_vector.i b/Lib/perl5/std_vector.i index c005805d2..515b7ebfa 100644 --- a/Lib/perl5/std_vector.i +++ b/Lib/perl5/std_vector.i @@ -1,13 +1,11 @@ -// -// SWIG typemaps for std::vector types -// Luigi Ballabio -// May 7, 2002 -// Chris Seatory -// August 5, 2002 -// Igor Bely -// May 16, 2003 -// -// Perl 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 + * + * SWIG typemaps for std::vector types + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/perl5/stl.i b/Lib/perl5/stl.i index a3566db5c..946e4b7f0 100644 --- a/Lib/perl5/stl.i +++ b/Lib/perl5/stl.i @@ -1,4 +1,11 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/perl5/typemaps.i b/Lib/perl5/typemaps.i index 59577240b..5ec43890f 100644 --- a/Lib/perl5/typemaps.i +++ b/Lib/perl5/typemaps.i @@ -1,26 +1,20 @@ +/* ----------------------------------------------------------------------------- + * 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 + * + * The SWIG typemap library provides a language independent mechanism for + * supporting output arguments, input values, and other C function + * calling mechanisms. The primary use of the library is to provide a + * better interface to certain C function--especially those involving + * pointers. + * ----------------------------------------------------------------------------- */ + #if !defined(SWIG_USE_OLD_TYPEMAPS) %include #else -// -// SWIG Typemap library -// Dave Beazley -// May 5, 1997 -// -// Perl5 implementation -// -// This library provides standard typemaps for modifying SWIG's behavior. -// With enough entries in this file, I hope that very few people actually -// ever need to write a typemap. -// - -/* -The SWIG typemap library provides a language independent mechanism for -supporting output arguments, input values, and other C function -calling mechanisms. The primary use of the library is to provide a -better interface to certain C function--especially those involving -pointers. -*/ // INPUT typemaps. // These remap a C pointer to be an "INPUT" value which is passed by value diff --git a/Lib/php4/const.i b/Lib/php4/const.i index f7a6cb2e5..4ea378fe1 100644 --- a/Lib/php4/const.i +++ b/Lib/php4/const.i @@ -1,4 +1,11 @@ -/* Typemaps for constants */ +/* ----------------------------------------------------------------------------- + * 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. + * + * const.i + * + * Typemaps for constants + * ----------------------------------------------------------------------------- */ %typemap(consttab) int, unsigned int, diff --git a/Lib/php4/globalvar.i b/Lib/php4/globalvar.i index 0171847c0..ba06df7da 100644 --- a/Lib/php4/globalvar.i +++ b/Lib/php4/globalvar.i @@ -1,4 +1,11 @@ -/* Global variables - add the variable to PHP */ +/* ----------------------------------------------------------------------------- + * 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. + * + * globalvar.i + * + * Global variables - add the variable to PHP + * ----------------------------------------------------------------------------- */ %typemap(varinit) char *, char [] diff --git a/Lib/php4/php4.swg b/Lib/php4/php4.swg index 89bb66594..94ffdf1d9 100644 --- a/Lib/php4/php4.swg +++ b/Lib/php4/php4.swg @@ -1,9 +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. + * * php4.swg * - * PHP 4 configuration file - * - */ + * PHP4 configuration file + * ----------------------------------------------------------------------------- */ %runtime "swigrun.swg" // Common C API type-checking code %runtime "php4run.swg" // Php4 runtime functions diff --git a/Lib/php4/php4kw.swg b/Lib/php4/php4kw.swg index 4cd6a8cb1..b0563fb3b 100644 --- a/Lib/php4/php4kw.swg +++ b/Lib/php4/php4kw.swg @@ -1,7 +1,12 @@ -// -// The 'keywords' in PHP are global, ie, the following names are fine -// when used as class methods. -// +/* ----------------------------------------------------------------------------- + * 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. + * + * php4kw.swg + * + * The 'keywords' in PHP are global, ie, the following names are fine + * when used as class methods. + * ----------------------------------------------------------------------------- */ #define PHPKW(x) %keywordwarn(`x` " is a php keyword, renamed as c_"`x`,sourcefmt="%(lower)s", rename="c_%s",fullname=1) `x` diff --git a/Lib/php4/php4run.swg b/Lib/php4/php4run.swg index fe523e07c..b7441929a 100644 --- a/Lib/php4/php4run.swg +++ b/Lib/php4/php4run.swg @@ -1,9 +1,11 @@ -/* - * php4.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. + * + * php4run.swg * * PHP4 runtime library - * - */ + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { diff --git a/Lib/php4/std_common.i b/Lib/php4/std_common.i index 3d075c7db..a779649dd 100644 --- a/Lib/php4/std_common.i +++ b/Lib/php4/std_common.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for STL - common utilities -// Luigi Ballabio -// Aug 17, 2003 -// -// PHP 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 diff --git a/Lib/php4/std_map.i b/Lib/php4/std_map.i index 006a62efd..c35f21dc7 100644 --- a/Lib/php4/std_map.i +++ b/Lib/php4/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/php4/std_pair.i b/Lib/php4/std_pair.i index 98c239cde..dc0604dc5 100644 --- a/Lib/php4/std_pair.i +++ b/Lib/php4/std_pair.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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/php4/std_string.i b/Lib/php4/std_string.i index e1ea9403f..0a7e30105 100644 --- a/Lib/php4/std_string.i +++ b/Lib/php4/std_string.i @@ -1,10 +1,11 @@ -// -// SWIG typemaps for std::string types -// Luigi Ballabio -// May 7, 2002 -// -// PHP 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_string.i + * + * SWIG typemaps for std::string types + * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // std::string is typemapped by value diff --git a/Lib/php4/std_vector.i b/Lib/php4/std_vector.i index 0904a9c83..fe084aca4 100644 --- a/Lib/php4/std_vector.i +++ b/Lib/php4/std_vector.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::vector types -// Luigi Ballabio -// May 7, 2002 -// -// PHP 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 + * + * SWIG typemaps for std::vector types + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/php4/stl.i b/Lib/php4/stl.i index a3566db5c..66b72e073 100644 --- a/Lib/php4/stl.i +++ b/Lib/php4/stl.i @@ -1,4 +1,12 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/php4/typemaps.i b/Lib/php4/typemaps.i index f36a8138f..7ab0b4e75 100644 --- a/Lib/php4/typemaps.i +++ b/Lib/php4/typemaps.i @@ -1,33 +1,32 @@ -// -// SWIG Typemap library -// Richard Palmer -// Oct 3, 2001 -// -// PHP4 implementation -// -// -// This library provides standard typemaps for modifying SWIG's behavior. -// With enough entries in this file, I hope that very few people actually -// ever need to write a typemap. -// +/* ----------------------------------------------------------------------------- + * 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 PHP4. + * + * This library provides standard typemaps for modifying SWIG's behavior. + * With enough entries in this file, I hope that very few people actually + * ever need to write a typemap. + * + * Define macros to define the following typemaps: + * + * TYPE *INPUT. Argument is passed in as native variable by value. + * TYPE *OUTPUT. Argument is returned as an array from the function call. + * TYPE *INOUT. Argument is passed in by value, and out as part of returned list + * TYPE *REFERENCE. Argument is passed in as native variable with value + * semantics. Variable value is changed with result. + * Use like this: + * int foo(int *REFERENCE); + * + * $a = 0; + * $rc = foo($a); + * + * Even though $a looks like it's passed by value, + * it's value can be changed by foo(). + * ----------------------------------------------------------------------------- */ -// -// Define macros to define the following typemaps: -// -// TYPE *INPUT. Argument is passed in as native variable by value. -// TYPE *OUTPUT. Argument is returned as an array from the function call. -// TYPE *INOUT. Argument is passed in by value, and out as part of returned list -// TYPE *REFERENCE. Argument is passed in as native variable with value -// semantics. Variable value is changed with result. -// Use like this: -// int foo(int *REFERENCE); -// -// $a = 0; -// $rc = foo($a); -// -// Even though $a looks like it's passed by value, -// it's value can be changed by foo(). -// %define double_typemap(TYPE) %typemap(in) TYPE *INPUT(TYPE temp) { diff --git a/Lib/pike/pike.swg b/Lib/pike/pike.swg index 9a17a6baf..cf95efccd 100644 --- a/Lib/pike/pike.swg +++ b/Lib/pike/pike.swg @@ -1,4 +1,7 @@ /* ----------------------------------------------------------------------------- + * 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. + * * pike.swg * * Pike configuration module. diff --git a/Lib/pike/pikekw.swg b/Lib/pike/pikekw.swg index 54bcfee35..85fd091a8 100644 --- a/Lib/pike/pikekw.swg +++ b/Lib/pike/pikekw.swg @@ -1,5 +1,5 @@ -#ifndef __pike_pikekw_swg__ -#define __pike_pikekw_swg__ +#ifndef PIKE_PIKEKW_SWG_ +#define PIKE_PIKEKW_SWG_ /* Warnings for Pike keywords */ #define PIKEKW(x) %namewarn("314:" #x " is a pike keyword") #x @@ -52,4 +52,4 @@ PIKEKW(while); #undef PIKEKW -#endif //__pike_pikekw_swg__ +#endif //PIKE_PIKEKW_SWG_ diff --git a/Lib/pike/pikerun.swg b/Lib/pike/pikerun.swg index a89ff1423..79529a0fb 100644 --- a/Lib/pike/pikerun.swg +++ b/Lib/pike/pikerun.swg @@ -1,12 +1,13 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * 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. + * * pikerun.swg * - * This file contains the runtime support for Pike modules - * and includes code for managing global variables and pointer - * type checking. - * - * Author : Lyle Johnson (lyle@users.sourceforge.net) - ************************************************************************/ + * This file contains the runtime support for Pike modules + * and includes code for managing global variables and pointer + * type checking. + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { diff --git a/Lib/pike/std_string.i b/Lib/pike/std_string.i index 07c3fe60c..e7f9ee03c 100644 --- a/Lib/pike/std_string.i +++ b/Lib/pike/std_string.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::string -// Lyle Johnson -// May 1, 2003 -// -// Pike 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_string.i + * + * SWIG typemaps for std::string + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/pointer.i b/Lib/pointer.i index 0f799ace2..16e11b7d1 100644 --- a/Lib/pointer.i +++ b/Lib/pointer.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. + * + * pointer.i + * ----------------------------------------------------------------------------- */ + %echo "pointer.i is deprecated. Use cpointer.i instead." %echo "See http://www.swig.org/Doc1.3/Library.html" diff --git a/Lib/ruby/director.swg b/Lib/ruby/director.swg index ca151206f..348100b9b 100644 --- a/Lib/ruby/director.swg +++ b/Lib/ruby/director.swg @@ -1,13 +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. + * * director.swg * * This file contains support for director classes that proxy * method calls from C++ to Ruby extensions. - * - * Author : Lyle Johnson (lyle@users.sourceforge.net) - * Based on the original Python implementation by - * Mark Rose (mrose@stm.lbl.gov). - ************************************************************************/ + * ----------------------------------------------------------------------------- */ /* Use -DSWIG_DIRECTOR_NOUEH if you prefer to avoid the use of the diff --git a/Lib/ruby/rubykw.swg b/Lib/ruby/rubykw.swg index 1177bc9f2..de59b577a 100644 --- a/Lib/ruby/rubykw.swg +++ b/Lib/ruby/rubykw.swg @@ -1,5 +1,5 @@ -#ifndef __ruby_rubykw_swg__ -#define __ruby_rubykw_swg__ +#ifndef RUBY_RUBYKW_SWG_ +#define RUBY_RUBYKW_SWG_ /* Warnings for Ruby keywords */ #define RUBYKW(x) %keywordwarn("'" `x` "' is a ruby keyword, and it will renamed as 'C_"`x`"'",rename="C_%s",fullname=1) `x` @@ -52,4 +52,4 @@ RUBYKW(yield); #undef RUBYKW -#endif //__ruby_rubykw_swg__ +#endif //RUBY_RUBYKW_SWG_ diff --git a/Lib/ruby/rubyprimtypes.swg b/Lib/ruby/rubyprimtypes.swg index e6694c097..c2d577995 100644 --- a/Lib/ruby/rubyprimtypes.swg +++ b/Lib/ruby/rubyprimtypes.swg @@ -1,8 +1,15 @@ +/* ----------------------------------------------------------------------------- + * 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. + * + * rubyprimtypes.swg + * + * ----------------------------------------------------------------------------- */ /* ------------------------------------------------------------ * Primitive Types * ------------------------------------------------------------ */ -/* auxiliar ruby fail method */ +/* auxiliary ruby fail method */ %fragment("SWIG_ruby_failed","header") { diff --git a/Lib/ruby/rubyrun.swg b/Lib/ruby/rubyrun.swg index e1464df05..930aca4a9 100644 --- a/Lib/ruby/rubyrun.swg +++ b/Lib/ruby/rubyrun.swg @@ -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. + * * rubyrun.swg + * + * ----------------------------------------------------------------------------- */ +/*********************************************************************** * * This file contains the runtime support for Ruby modules * and includes code for managing global variables and pointer diff --git a/Lib/ruby/rubytracking.swg b/Lib/ruby/rubytracking.swg index 6ebff3484..dfd5ac3af 100644 --- a/Lib/ruby/rubytracking.swg +++ b/Lib/ruby/rubytracking.swg @@ -1,12 +1,14 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * 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. + * * rubytracking.swg * * This file contains support for tracking mappings from * Ruby objects to C++ objects. This functionality is needed * to implement mark functions for Ruby's mark and sweep * garbage collector. - ************************************************************************/ - + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { diff --git a/Lib/ruby/std_common.i b/Lib/ruby/std_common.i index abb9f6e2c..af5edd0e1 100644 --- a/Lib/ruby/std_common.i +++ b/Lib/ruby/std_common.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for STL - common utilities -// Luigi Ballabio -// Aug 3, 2002 -// -// Ruby 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 diff --git a/Lib/ruby/std_map.i b/Lib/ruby/std_map.i index c2e054758..7c9b8de09 100644 --- a/Lib/ruby/std_map.i +++ b/Lib/ruby/std_map.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::map -// Luigi Ballabio -// Jan. 2003 -// -// Ruby 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_map.i + * + * SWIG typemaps for std::map + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ruby/std_pair.i b/Lib/ruby/std_pair.i index 0cfea0728..9f4be3165 100644 --- a/Lib/ruby/std_pair.i +++ b/Lib/ruby/std_pair.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::pair -// Luigi Ballabio -// July 2003 -// -// Ruby 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 + * + * SWIG typemaps for std::pair + * ----------------------------------------------------------------------------- */ %include %include diff --git a/Lib/ruby/std_vector.i b/Lib/ruby/std_vector.i index 9b3d7fcbe..42c2f91f7 100644 --- a/Lib/ruby/std_vector.i +++ b/Lib/ruby/std_vector.i @@ -1,9 +1,11 @@ -// -// SWIG typemaps for std::vector -// Luigi Ballabio -// Apr 8, 2002 -// -// Ruby 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 + * + * SWIG typemaps for std::vector + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/ruby/stl.i b/Lib/ruby/stl.i index a3566db5c..66b72e073 100644 --- a/Lib/ruby/stl.i +++ b/Lib/ruby/stl.i @@ -1,4 +1,12 @@ -/* initial STL definition. extended as needed in each language */ +/* ----------------------------------------------------------------------------- + * 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 %include %include diff --git a/Lib/std/_std_deque.i b/Lib/std/_std_deque.i index eeaaa9186..026f373d6 100644 --- a/Lib/std/_std_deque.i +++ b/Lib/std/_std_deque.i @@ -1,7 +1,13 @@ -/* This file contains a generic definition of std::deque along with +/* ----------------------------------------------------------------------------- + * 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_deque.i + * + * This file contains a generic definition of std::deque along with * some helper functions. Specific language modules should include * this file to generate wrappers. - */ + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/std_except.i b/Lib/std_except.i index 5a27f4b11..af9803a62 100644 --- a/Lib/std_except.i +++ b/Lib/std_except.i @@ -1,21 +1,26 @@ -// Typemaps used to handle and throw STD exceptions in a language -// and STL independent way, i.e., the target language doesn't -// require to support STL but only the 'exception.i' mechanism. -// -// These typemaps are used when methods are declared with an STD -// exception specification, such as -// -// size_t at() const throw (std::out_of_range); -// -// -// The typemaps here are based on the language independent -// 'exception.i' library. If that is working in your target language, -// this file will work. -// -// If the target language doesn't implement a robust 'exception.i' -// mechanism, or you prefer other ways to map the STD exceptions, write -// a new std_except.i file in the target library directory. -// +/* ----------------------------------------------------------------------------- + * 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_except.i + * + * SWIG library file with typemaps to handle and throw STD exceptions in a + * language and STL independent way, i.e., the target language doesn't + * require to support STL but only the 'exception.i' mechanism. + * + * These typemaps are used when methods are declared with an STD + * exception specification, such as + * + * size_t at() const throw (std::out_of_range); + * + * The typemaps here are based on the language independent + * 'exception.i' library. If that is working in your target language, + * this file will work. + * + * If the target language doesn't implement a robust 'exception.i' + * mechanism, or you prefer other ways to map the STD exceptions, write + * a new std_except.i file in the target library directory. + * ----------------------------------------------------------------------------- */ #if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGGUILE) || defined(SWIGUTL) #error "This version of std_except.i should not be used" diff --git a/Lib/stdint.i b/Lib/stdint.i index 61dc9e39e..7b48ca388 100644 --- a/Lib/stdint.i +++ b/Lib/stdint.i @@ -1,6 +1,11 @@ -/* - * ISO C99: 7.18 Integer types - */ +/* ----------------------------------------------------------------------------- + * 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. + * + * stdint.i + * + * SWIG library file for ISO C99 types: 7.18 Integer types + * ----------------------------------------------------------------------------- */ %{ #include // Use the C99 official header diff --git a/Lib/stl.i b/Lib/stl.i index 1503c43b8..c3ade01ea 100644 --- a/Lib/stl.i +++ b/Lib/stl.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 + * ----------------------------------------------------------------------------- */ + #warning "stl.i not implemented for this target" #define SWIG_STL_UNIMPL diff --git a/Lib/swigarch.i b/Lib/swigarch.i index 019462f24..260b60880 100644 --- a/Lib/swigarch.i +++ b/Lib/swigarch.i @@ -1,25 +1,30 @@ -/* 32bit/64bit code specialization and checking - - Use only in extreme cases, when no arch. independent code can be - generated - - To activate architecture specific code, use +/* ----------------------------------------------------------------------------- + * 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. + * + * swigarch.i + * + * SWIG library file for 32bit/64bit code specialization and checking. + * + * Use only in extreme cases, when no arch. independent code can be + * generated + * + * To activate architecture specific code, use + * + * swig -DSWIGWORDSIZE32 + * + * or + * + * swig -DSWIGWORDSIZE64 + * + * Note that extra checking code will be added to the wrapped code, + * which will prevent the compilation in a different architecture. + * + * If you don't specify the SWIGWORDSIZE (the default case), swig will + * generate architecture independent and/or 32bits code, with no extra + * checking code added. + * ----------------------------------------------------------------------------- */ - swig -DSWIGWORDSIZE32 - - or - - swig -DSWIGWORDSIZE64 - - - Note that extra checking code will be added to the wrapped code, - which will prevent the compilation in a different architecture. - - If you don't specify the SWIGWORDSIZE (the default case), swig will - generate architecture independent and/or 32bits code, with no extra - checking code added. - -*/ #if !defined(SWIGWORDSIZE32) && !defined(SWIGWORDSIZE64) # if (__WORDSIZE == 32) # define SWIGWORDSIZE32 diff --git a/Lib/swigrun.i b/Lib/swigrun.i index 5fc0b6ef2..17a140968 100644 --- a/Lib/swigrun.i +++ b/Lib/swigrun.i @@ -1,3 +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. + * + * swigrun.i + * + * Empty module (for now). Placeholder for runtime libs + * ----------------------------------------------------------------------------- */ + %module swigrun -// Empty module (for now). Placeholder for runtime libs diff --git a/Lib/tcl/mactclinit.c b/Lib/tcl/mactclinit.c index babb23dd5..5dcf8e7f3 100644 --- a/Lib/tcl/mactclinit.c +++ b/Lib/tcl/mactclinit.c @@ -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 -- * diff --git a/Lib/tcl/mactkinit.c b/Lib/tcl/mactkinit.c index 77b74ac0f..bfe74029c 100644 --- a/Lib/tcl/mactkinit.c +++ b/Lib/tcl/mactkinit.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 #include diff --git a/Lib/tcl/std_common.i b/Lib/tcl/std_common.i index d3798f8f7..3a6f47042 100644 --- a/Lib/tcl/std_common.i +++ b/Lib/tcl/std_common.i @@ -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 diff --git a/Lib/tcl/std_pair.i b/Lib/tcl/std_pair.i index 98c239cde..52e96674f 100644 --- a/Lib/tcl/std_pair.i +++ b/Lib/tcl/std_pair.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 %include diff --git a/Lib/tcl/std_vector.i b/Lib/tcl/std_vector.i index cce454c15..fcb394c2c 100644 --- a/Lib/tcl/std_vector.i +++ b/Lib/tcl/std_vector.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 diff --git a/Lib/tcl/stl.i b/Lib/tcl/stl.i index a3566db5c..afd121341 100644 --- a/Lib/tcl/stl.i +++ b/Lib/tcl/stl.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 %include diff --git a/Lib/tcl/tcl8.swg b/Lib/tcl/tcl8.swg index 1b682b680..c33cc7681 100644 --- a/Lib/tcl/tcl8.swg +++ b/Lib/tcl/tcl8.swg @@ -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 diff --git a/Lib/tcl/tclfragments.swg b/Lib/tcl/tclfragments.swg index a5ca4c7df..c741136d5 100644 --- a/Lib/tcl/tclfragments.swg +++ b/Lib/tcl/tclfragments.swg @@ -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, std::list >, etc. - */ diff --git a/Lib/tcl/tclinterp.i b/Lib/tcl/tclinterp.i index 2d0c035f6..48cdb6066 100644 --- a/Lib/tcl/tclinterp.i +++ b/Lib/tcl/tclinterp.i @@ -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; diff --git a/Lib/tcl/tclkw.swg b/Lib/tcl/tclkw.swg index 1cca5cad6..e96e885d3 100644 --- a/Lib/tcl/tclkw.swg +++ b/Lib/tcl/tclkw.swg @@ -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_ diff --git a/Lib/tcl/tclopers.swg b/Lib/tcl/tclopers.swg index 98aaadf1e..26b74203d 100644 --- a/Lib/tcl/tclopers.swg +++ b/Lib/tcl/tclopers.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+; diff --git a/Lib/tcl/tclresult.i b/Lib/tcl/tclresult.i index 3de7ffaeb..ca0106432 100644 --- a/Lib/tcl/tclresult.i +++ b/Lib/tcl/tclresult.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. + * + * tclresult.i + * ----------------------------------------------------------------------------- */ + /* int Tcl_Result diff --git a/Lib/tcl/tclrun.swg b/Lib/tcl/tclrun.swg index 7f6d905a2..bf10abd84 100644 --- a/Lib/tcl/tclrun.swg +++ b/Lib/tcl/tclrun.swg @@ -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 */ diff --git a/Lib/tcl/tclsh.i b/Lib/tcl/tclsh.i index cec34758b..2e8ed3316 100644 --- a/Lib/tcl/tclsh.i +++ b/Lib/tcl/tclsh.i @@ -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" diff --git a/Lib/tcl/tclwstrings.swg b/Lib/tcl/tclwstrings.swg index fd413c6a8..20ee90069 100644 --- a/Lib/tcl/tclwstrings.swg +++ b/Lib/tcl/tclwstrings.swg @@ -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 diff --git a/Lib/tcl/typemaps.i b/Lib/tcl/typemaps.i index 82f2ed32c..7c9e04a8b 100644 --- a/Lib/tcl/typemaps.i +++ b/Lib/tcl/typemaps.i @@ -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 #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 diff --git a/Lib/tcl/wish.i b/Lib/tcl/wish.i index e11ca2f77..077ded61f 100644 --- a/Lib/tcl/wish.i +++ b/Lib/tcl/wish.i @@ -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" diff --git a/Lib/typemaps/attribute.swg b/Lib/typemaps/attribute.swg index 5a4e2ac0b..c1cadf504 100644 --- a/Lib/typemaps/attribute.swg +++ b/Lib/typemaps/attribute.swg @@ -1,6 +1,13 @@ -/* - Attribute implementation using JOHN E LENZ ideas. +/* ----------------------------------------------------------------------------- + * 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. + * + * attribute.swg + * + * Attribute implementation + * ----------------------------------------------------------------------------- */ +/* The following macros convert a pair of set/get methods into a "native" attribute. diff --git a/Lib/typemaps/carrays.swg b/Lib/typemaps/carrays.swg index 2f0f2c9f1..27ca11779 100644 --- a/Lib/typemaps/carrays.swg +++ b/Lib/typemaps/carrays.swg @@ -1,12 +1,11 @@ /* ----------------------------------------------------------------------------- - * carrays.i + * 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. * - * Author(s): David Beazley (beazley@cs.uchicago.edu) + * carrays.swg * * This library file contains macros that can be used to manipulate simple * pointers as arrays. - * - * $Header$ * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- diff --git a/Lib/typemaps/cdata.swg b/Lib/typemaps/cdata.swg index 2eff94e11..32b3f5a77 100644 --- a/Lib/typemaps/cdata.swg +++ b/Lib/typemaps/cdata.swg @@ -1,11 +1,10 @@ /* ----------------------------------------------------------------------------- - * cdata.i + * 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. * - * Author(s): David Beazley (beazley@cs.uchicago.edu) + * cdata.swg * * This library file contains macros for manipulating raw C data as strings. - * - * $Header$ * ----------------------------------------------------------------------------- */ %{ diff --git a/Lib/typemaps/cmalloc.swg b/Lib/typemaps/cmalloc.swg index 4f6c56a70..15f962930 100644 --- a/Lib/typemaps/cmalloc.swg +++ b/Lib/typemaps/cmalloc.swg @@ -1,12 +1,11 @@ /* ----------------------------------------------------------------------------- - * cmalloc.i + * 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. * - * Author(s): David Beazley (beazley@cs.uchicago.edu) + * cmalloc.swg * * This library file contains macros that can be used to create objects using * the C malloc function. - * - * $Header$ * ----------------------------------------------------------------------------- */ %{ diff --git a/Lib/typemaps/cpointer.swg b/Lib/typemaps/cpointer.swg index 1737f4f14..ce1af169e 100644 --- a/Lib/typemaps/cpointer.swg +++ b/Lib/typemaps/cpointer.swg @@ -1,12 +1,12 @@ /* ----------------------------------------------------------------------------- - * cpointer.i + * 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. * - * Author(s): David Beazley (beazley@cs.uchicago.edu) + * cpointer.swg * * This library file contains macros that can be used to manipulate simple * pointer objects. * - * $Header$ * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- diff --git a/Lib/typemaps/cstrings.swg b/Lib/typemaps/cstrings.swg index f39dc10a5..db413975a 100644 --- a/Lib/typemaps/cstrings.swg +++ b/Lib/typemaps/cstrings.swg @@ -1,14 +1,14 @@ -/* - * cstring.i - * $Header$ +/* ----------------------------------------------------------------------------- + * 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. * - * Author(s): David Beazley (beazley@cs.uchicago.edu) + * cstrings.swg * * This file provides typemaps and macros for dealing with various forms * of C character string handling. The primary use of this module * is in returning character data that has been allocated or changed in * some way. - */ + * ----------------------------------------------------------------------------- */ %define %typemaps_cstring(Name, Char, SWIG_AsCharPtr, diff --git a/Lib/typemaps/exception.swg b/Lib/typemaps/exception.swg index e4fa31bcc..08150983a 100644 --- a/Lib/typemaps/exception.swg +++ b/Lib/typemaps/exception.swg @@ -1,4 +1,12 @@ -// This SWIG library file provides language independent exception handling +/* ----------------------------------------------------------------------------- + * 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. + * + * exceptions.swg + * + * This SWIG library file provides language independent exception handling + * ----------------------------------------------------------------------------- */ + %include diff --git a/Lib/typemaps/ptrtypes.swg b/Lib/typemaps/ptrtypes.swg index 4c921feec..1ba5511ee 100644 --- a/Lib/typemaps/ptrtypes.swg +++ b/Lib/typemaps/ptrtypes.swg @@ -1,4 +1,9 @@ -/*--------------------------------------------------------------------- +/* ----------------------------------------------------------------------------- + * 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. + * + * ptrtypes.swg + * * Value typemaps (Type, const Type&) for "Ptr" types, such as swig * wrapped classes, that define the AsPtr/From methods * @@ -17,8 +22,7 @@ * %ptr_varin_typemap(asptr_meth,frag,Type) * %ptr_typecheck_typemap(check,asptr_meth,frag,Type) * %ptr_directorout_typemap(asptr_meth,frag,Type) - * - *---------------------------------------------------------------------*/ + * ----------------------------------------------------------------------------- */ %include diff --git a/Lib/typemaps/swigtypemaps.swg b/Lib/typemaps/swigtypemaps.swg index 427195cdf..12200b10e 100644 --- a/Lib/typemaps/swigtypemaps.swg +++ b/Lib/typemaps/swigtypemaps.swg @@ -1,5 +1,10 @@ /* ----------------------------------------------------------------------------- - * Unified Typemap Library frontend + * 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. + * + * swigtypemaps.swg + * + * Unified Typemap Library frontend * ----------------------------------------------------------------------------- */ /* diff --git a/Lib/typemaps/typemaps.swg b/Lib/typemaps/typemaps.swg index eaf66b46b..6e7505765 100644 --- a/Lib/typemaps/typemaps.swg +++ b/Lib/typemaps/typemaps.swg @@ -1,24 +1,14 @@ -// -// SWIG Typemap library -// Dave Beazley -// May 5, 1997 -// -// Tcl implementation -// -// This library provides standard typemaps for modifying SWIG's behavior. -// With enough entries in this file, I hope that very few people actually -// ever need to write a typemap. -// -// Disclaimer : Unless you really understand how typemaps work, this file -// probably isn't going to make much sense. -// - -// ------------------------------------------------------------------------ -// Pointer handling -// -// These mappings provide support for input/output arguments and common -// uses for C/C++ pointers. -// ------------------------------------------------------------------------ +/* ----------------------------------------------------------------------------- + * 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.swg + * + * Tcl Pointer handling + * + * These mappings provide support for input/output arguments and common + * uses for C/C++ pointers. + * ----------------------------------------------------------------------------- */ // INPUT typemaps. // These remap a C pointer to be an "INPUT" value which is passed by value diff --git a/Lib/wchar.i b/Lib/wchar.i index 0d9ace635..f106a3529 100644 --- a/Lib/wchar.i +++ b/Lib/wchar.i @@ -1,7 +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. + * + * wchar.i + * ----------------------------------------------------------------------------- */ + /* - wchar_t not supported, unless otherwise specified in the target - language. - + wchar_t not supported, unless otherwise specified in the target language. */ #if defined(SWIG_WCHAR) diff --git a/Lib/windows.i b/Lib/windows.i index 32d369d1c..ce1ca77f3 100644 --- a/Lib/windows.i +++ b/Lib/windows.i @@ -1,5 +1,12 @@ -// Support for types found in windows.h as well as Microsoft integral type extensions -// The types are set for 32 bit Windows. +/* ----------------------------------------------------------------------------- + * 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. + * + * windows.i + * + * SWIG library file to support types found in windows.h as well as Microsoft + * integral type extensions. The types are set for 32 bit Windows. + * ----------------------------------------------------------------------------- */ // Support for non ISO (Windows) integral types %apply unsigned char { unsigned __int8 };