summaryrefslogtreecommitdiff
path: root/Source/Modules
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2006-03-06 22:51:01 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2006-03-06 22:51:01 +0000
commit7f74b8e7a3e0f87865025158882b530a2ccc7364 (patch)
treea44971e70bf1239f411454b4b103a676a077d18a /Source/Modules
parent260504f464edf2344b0ab056785d6bb918428b7b (diff)
downloadswig-7f74b8e7a3e0f87865025158882b530a2ccc7364.tar.gz
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@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules')
-rw-r--r--Source/Modules/allegrocl.cxx14
-rw-r--r--Source/Modules/allocate.cxx21
-rw-r--r--Source/Modules/browser.cxx12
-rw-r--r--Source/Modules/cffi.cxx9
-rw-r--r--Source/Modules/chicken.cxx26
-rw-r--r--Source/Modules/clisp.cxx9
-rw-r--r--Source/Modules/contract.cxx14
-rw-r--r--Source/Modules/csharp.cxx11
-rw-r--r--Source/Modules/directors.cxx15
-rw-r--r--Source/Modules/emit.cxx17
-rw-r--r--Source/Modules/guile.cxx31
-rw-r--r--Source/Modules/java.cxx11
-rw-r--r--Source/Modules/lang.cxx13
-rw-r--r--Source/Modules/lua.cxx10
-rw-r--r--Source/Modules/main.cxx13
-rw-r--r--Source/Modules/modula3.cxx12
-rw-r--r--Source/Modules/module.cxx10
-rw-r--r--Source/Modules/mzscheme.cxx26
-rwxr-xr-xSource/Modules/ocaml.cxx21
-rw-r--r--Source/Modules/overload.cxx14
-rw-r--r--Source/Modules/perl5.cxx14
-rw-r--r--Source/Modules/php4.cxx20
-rw-r--r--Source/Modules/pike.cxx13
-rw-r--r--Source/Modules/python.cxx10
-rw-r--r--Source/Modules/ruby.cxx15
-rw-r--r--Source/Modules/s-exp.cxx13
-rw-r--r--Source/Modules/swigmain.cxx26
-rw-r--r--Source/Modules/swigmod.h21
-rw-r--r--Source/Modules/tcl8.cxx21
-rw-r--r--Source/Modules/typepass.cxx23
-rw-r--r--Source/Modules/uffi.cxx13
-rw-r--r--Source/Modules/utils.cxx10
-rw-r--r--Source/Modules/xml.cxx16
33 files changed, 196 insertions, 328 deletions
diff --git a/Source/Modules/allegrocl.cxx b/Source/Modules/allegrocl.cxx
index b9c35ab67..1dd0e4a07 100644
--- a/Source/Modules/allegrocl.cxx
+++ b/Source/Modules/allegrocl.cxx
@@ -1,13 +1,11 @@
-/********************************************************************
- * ALLEGROCL module for SWIG
+/* -----------------------------------------------------------------------------
+ * 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 : Ahmon Dancy
- * Major restructuring: Mikel Bancroft (mikel@franz.com) and Dirk Gerrits.
+ * allegrocl.cxx
*
- * Please read the file LICENSE for the copyright and terms by which
- * SWIG can be used and distributed.
- *
- ********************************************************************/
+ * ALLEGROCL language module for SWIG.
+ * ----------------------------------------------------------------------------- */
char cvsroot_allegrocl_cxx[] = "$Header$";
diff --git a/Source/Modules/allocate.cxx b/Source/Modules/allocate.cxx
index 065cebc15..975684891 100644
--- a/Source/Modules/allocate.cxx
+++ b/Source/Modules/allocate.cxx
@@ -1,19 +1,14 @@
/* -----------------------------------------------------------------------------
- * allocate.cxx
- *
- * This module tries to figure out which classes and structures support
- * default constructors and destructors in C++. There are several rules that
- * define this behavior including pure abstract methods, private sections,
- * and non-default constructors in base classes. See the ARM or
- * Doc/Manual/SWIGPlus.html for details.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * 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.
*
- * Copyright (C) 1998-2002. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
+ * allocate.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * This module tries to figure out which classes and structures support
+ * default constructors and destructors in C++. There are several rules that
+ * define this behavior including pure abstract methods, private sections,
+ * and non-default constructors in base classes. See the ARM or
+ * Doc/Manual/SWIGPlus.html for details.
* ----------------------------------------------------------------------------- */
char cvsroot_allocate_cxx[] = "$Header$";
diff --git a/Source/Modules/browser.cxx b/Source/Modules/browser.cxx
index 4b2e69633..ef6d450e6 100644
--- a/Source/Modules/browser.cxx
+++ b/Source/Modules/browser.cxx
@@ -1,13 +1,11 @@
/* -----------------------------------------------------------------------------
- * browser.cxx
+ * 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.
*
- * A web-base parse tree browser using SWILL. This is an optional
- * feature that's normally disabled.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * browser.cxx
*
- * Copyright (C) 2002. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * A web-base parse tree browser using SWILL. This is an optional
+ * feature that's normally disabled.
* ----------------------------------------------------------------------------- */
char cvsroot_browser_cxx[] = "$Header$";
diff --git a/Source/Modules/cffi.cxx b/Source/Modules/cffi.cxx
index ee51419a1..04592b5bc 100644
--- a/Source/Modules/cffi.cxx
+++ b/Source/Modules/cffi.cxx
@@ -1,11 +1,10 @@
/* -----------------------------------------------------------------------------
- * cffi.cxx
- *
- * cffi module.
+ * 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) : Surendra Singhi (surendra@asu.edu)
+ * cffi.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * cffi language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_cffi_cxx[] = "$Header$";
diff --git a/Source/Modules/chicken.cxx b/Source/Modules/chicken.cxx
index 5f103f3a0..e3011dc51 100644
--- a/Source/Modules/chicken.cxx
+++ b/Source/Modules/chicken.cxx
@@ -1,28 +1,14 @@
-/********************************************************************
- * CHICKEN module for SWIG
+/* -----------------------------------------------------------------------------
+ * 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 : Jonah Beckford
- *
- * Major restructuring: John Lenz
- *
- * Modified from mzscheme.cxx, guile.cxx and python.cxx : David
- * Beazley
- *
- * Please read the file LICENSE for the copyright and terms by which
- * SWIG can be used and distributed.
+ * chicken.cxx
*
- ********************************************************************/
+ * CHICKEN language module for SWIG.
+ * ----------------------------------------------------------------------------- */
char cvsroot_chicken_cxx[] = "$Header$";
-/***********************************************************************
- * $Header$
- *
- * chicken.cxx
- *
- * Definitions for adding functions to CHICKEN
- ***********************************************************************/
-
#include "swigmod.h"
#include <ctype.h>
diff --git a/Source/Modules/clisp.cxx b/Source/Modules/clisp.cxx
index e83d959aa..49f555aaf 100644
--- a/Source/Modules/clisp.cxx
+++ b/Source/Modules/clisp.cxx
@@ -1,11 +1,10 @@
/* -----------------------------------------------------------------------------
- * clisp.cxx
- *
- * clisp module.
+ * 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) : Surendra Singhi (surendra@asu.edu)
+ * clisp.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * clisp language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_clisp_cxx[] = "$Header$";
diff --git a/Source/Modules/contract.cxx b/Source/Modules/contract.cxx
index d9732303e..2f5153485 100644
--- a/Source/Modules/contract.cxx
+++ b/Source/Modules/contract.cxx
@@ -1,16 +1,10 @@
/* -----------------------------------------------------------------------------
- * contract.cxx
- *
- * Support for Wrap by Contract in SWIG
- *
- * Author(s) : Songyan Feng (Tiger) (songyanf@cs.uchicago.edu)
- * David Beazley (beazley@cs.uchicago.edu)
+ * 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.
*
- * Department of Computer Science
- * University of Chicago
+ * contract.cxx
*
- * Copyright (C) 1999-2003. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Support for Wrap by Contract in SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_contract_cxx[] = "$Header$";
diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx
index f96f09860..ec9df54b2 100644
--- a/Source/Modules/csharp.cxx
+++ b/Source/Modules/csharp.cxx
@@ -1,13 +1,10 @@
/* -----------------------------------------------------------------------------
- * csharp.cxx
- *
- * CSharp wrapper module.
+ * 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) : William Fulton
- * Neil Cawse
+ * csharp.cxx
*
- * Copyright (C) 1999-2002. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * C# language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_csharp_cxx[] = "$Header$";
diff --git a/Source/Modules/directors.cxx b/Source/Modules/directors.cxx
index 033596086..dc08ef0be 100644
--- a/Source/Modules/directors.cxx
+++ b/Source/Modules/directors.cxx
@@ -1,15 +1,12 @@
/* -----------------------------------------------------------------------------
- * directors.cxx
- *
- * Director support functions.
+ * 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.
*
- * Not all of these may be necessary, and some may duplicate existing functionality
- * in SWIG. --MR
- *
- * Author(s) : Mark Rose
+ * directors.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Director support functions.
+ * Not all of these may be necessary, and some may duplicate existing functionality
+ * in SWIG. --MR
* ----------------------------------------------------------------------------- */
char cvsroot_directors_cxx[] = "$Header";
diff --git a/Source/Modules/emit.cxx b/Source/Modules/emit.cxx
index c43162410..8974377f3 100644
--- a/Source/Modules/emit.cxx
+++ b/Source/Modules/emit.cxx
@@ -1,21 +1,16 @@
/* -----------------------------------------------------------------------------
- * emit.cxx
- *
- * Useful functions for emitting various pieces of code.
+ * 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)
- *
- * Copyright (C) 1998-2000. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
+ * emit.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * Useful functions for emitting various pieces of code.
* ----------------------------------------------------------------------------- */
-#include "swigmod.h"
-
char cvsroot_emit_cxx[] = "$Header$";
+#include "swigmod.h"
+
/* -----------------------------------------------------------------------------
* emit_args()
*
diff --git a/Source/Modules/guile.cxx b/Source/Modules/guile.cxx
index 59226d61e..56c665cd4 100644
--- a/Source/Modules/guile.cxx
+++ b/Source/Modules/guile.cxx
@@ -1,32 +1,13 @@
-/******************************************************************************
- * Simplified Wrapper and Interface Generator (SWIG)
- *
- * Author : David Beazley
- *
- * Department of Computer Science
- * University of Chicago
- * 1100 E 58th Street
- * Chicago, IL 60637
- * beazley@cs.uchicago.edu
- *
- * Please read the file LICENSE for the copyright and terms by which SWIG
- * can be used and distributed.
- *****************************************************************************/
-
-char cvsroot_guile_cxx[] = "$Header$";
-
-/***********************************************************************
- * $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.
*
* guile.cxx
*
- * Definitions for adding functions to Guile
- ***********************************************************************/
+ * Guile language module for SWIG.
+ * ----------------------------------------------------------------------------- */
-/***********************************************************************
- * GOOPS Support added by John Lenz <jelenz@wisc.edu> in June, 2003
- * Base code copied from chicken module, writen by Jonah Beckford
- ***********************************************************************/
+char cvsroot_guile_cxx[] = "$Header$";
#include "swigmod.h"
diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx
index 4fb4c3606..0d0398fc1 100644
--- a/Source/Modules/java.cxx
+++ b/Source/Modules/java.cxx
@@ -1,13 +1,10 @@
/* -----------------------------------------------------------------------------
- * java.cxx
- *
- * Java wrapper module.
+ * 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) : William Fulton
- * Harco de Hilster
+ * java.cxx
*
- * Copyright (C) 1999-2002. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Java language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_java_cxx[] = "$Header$";
diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx
index 9af88379f..284e5e65f 100644
--- a/Source/Modules/lang.cxx
+++ b/Source/Modules/lang.cxx
@@ -1,15 +1,10 @@
/* -----------------------------------------------------------------------------
- * lang.cxx
- *
- * Language base class functions. Default C++ handling is also implemented here.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * 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.
*
- * Copyright (C) 1998-2000. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
+ * lang.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * Language base class functions. Default C++ handling is also implemented here.
* ----------------------------------------------------------------------------- */
char cvsroot_lang_cxx[] = "$Header$";
diff --git a/Source/Modules/lua.cxx b/Source/Modules/lua.cxx
index b1c219139..30227370e 100644
--- a/Source/Modules/lua.cxx
+++ b/Source/Modules/lua.cxx
@@ -1,12 +1,10 @@
/* -----------------------------------------------------------------------------
- * lua.cxx
- *
- * Lua wrapper module.
+ * 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) : Mark Gossage (mark@gossage.cjb.net)
+ * lua.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Lua language module for SWIG.
* ----------------------------------------------------------------------------- */
/* NEW LANGUAGE NOTE:
diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
index abeb2c786..eb79091dd 100644
--- a/Source/Modules/main.cxx
+++ b/Source/Modules/main.cxx
@@ -1,15 +1,10 @@
/* -----------------------------------------------------------------------------
- * main.cxx
- *
- * Main entry point to the SWIG core.
+ * 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)
- *
- * Copyright (C) 1998-2000. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
+ * main.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * Main entry point to the SWIG core.
* ----------------------------------------------------------------------------- */
char cvsroot_main_cxx[] = "$Header$";
diff --git a/Source/Modules/modula3.cxx b/Source/Modules/modula3.cxx
index 9d531d6b0..0fea8ec39 100644
--- a/Source/Modules/modula3.cxx
+++ b/Source/Modules/modula3.cxx
@@ -1,15 +1,13 @@
/* -----------------------------------------------------------------------------
- * modula3.cxx
- *
- * Modula3 wrapper module.
+ * 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) : Henning Thielemann
+ * modula3.cxx
*
- * Adapted from csharp.cxx
+ * Modula3 language module for SWIG.
* ----------------------------------------------------------------------------- */
-char cvsroot_modula3_cxx[] =
- "$Header$";
+char cvsroot_modula3_cxx[] = "$Header$";
/*
Text formatted with
diff --git a/Source/Modules/module.cxx b/Source/Modules/module.cxx
index 70444f608..43f3ee1f1 100644
--- a/Source/Modules/module.cxx
+++ b/Source/Modules/module.cxx
@@ -1,12 +1,10 @@
/* -----------------------------------------------------------------------------
- * module.cxx
+ * 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.
*
- * This file is responsible for the module system.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * module.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * This file is responsible for the module system.
* ----------------------------------------------------------------------------- */
char cvsroot_module_cxx[] = "$Header$";
diff --git a/Source/Modules/mzscheme.cxx b/Source/Modules/mzscheme.cxx
index 3f6b9cb8e..45e1ccb75 100644
--- a/Source/Modules/mzscheme.cxx
+++ b/Source/Modules/mzscheme.cxx
@@ -1,28 +1,14 @@
-/******************************************************************************
- * Simplified Wrapper and Interface Generator (SWIG)
+/* -----------------------------------------------------------------------------
+ * 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 : David Beazley
- *
- * Department of Computer Science
- * University of Chicago
- * 1100 E 58th Street
- * Chicago, IL 60637
- * beazley@cs.uchicago.edu
+ * mzscheme.cxx
*
- * Please read the file LICENSE for the copyright and terms by which SWIG
- * can be used and distributed.
- *****************************************************************************/
+ * Mzscheme language module for SWIG.
+ * ----------------------------------------------------------------------------- */
char cvsroot_mzscheme_cxx[] = "$Header$";
-/***********************************************************************
- * $Header$
- *
- * mzscheme.cxx
- *
- * Definitions for adding functions to Mzscheme 101
- ***********************************************************************/
-
#include "swigmod.h"
#include <ctype.h>
diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx
index f79a6092c..4f5286607 100755
--- a/Source/Modules/ocaml.cxx
+++ b/Source/Modules/ocaml.cxx
@@ -1,23 +1,14 @@
-/******************************************************************************
- * Simplified Wrapper and Interface Generator (SWIG)
+/* -----------------------------------------------------------------------------
+ * 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 : Art Yerkes
- * Modified from mzscheme.cxx : David Beazley
+ * ocaml.cxx
*
- * Please read the file LICENSE for the copyright and terms by which SWIG
- * can be used and distributed.
- *****************************************************************************/
+ * Ocaml language module for SWIG.
+ * ----------------------------------------------------------------------------- */
char cvsroot_ocaml_cxx[] = "$Header$";
-/***********************************************************************
- * $Header$
- *
- * ocaml.cxx
- *
- * Definitions for adding functions to Ocaml 101
- ***********************************************************************/
-
#include "swigmod.h"
#include <ctype.h>
diff --git a/Source/Modules/overload.cxx b/Source/Modules/overload.cxx
index b9df5f35b..26f0c6a7d 100644
--- a/Source/Modules/overload.cxx
+++ b/Source/Modules/overload.cxx
@@ -1,14 +1,12 @@
/* -----------------------------------------------------------------------------
- * overload.cxx
+ * 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.
*
- * This file is used to analyze overloaded functions and methods.
- * It looks at signatures and tries to gather information for
- * building a dispatch function.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * overload.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * This file is used to analyze overloaded functions and methods.
+ * It looks at signatures and tries to gather information for
+ * building a dispatch function.
* ----------------------------------------------------------------------------- */
char cvsroot_overload_cxx[] = "$Header$";
diff --git a/Source/Modules/perl5.cxx b/Source/Modules/perl5.cxx
index cc304d55e..fba23f126 100644
--- a/Source/Modules/perl5.cxx
+++ b/Source/Modules/perl5.cxx
@@ -1,16 +1,10 @@
/* ----------------------------------------------------------------------------
- * perl5.cxx
- *
- * Generate Perl5 wrappers
+ * 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)
- * Loic Dachary (loic@ceic.com)
- * David Fletcher
- * Gary Holt
- * Jason Stewart (jasons@apache.org)
+ * perl5.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Perl5 language module for SWIG.
* ------------------------------------------------------------------------- */
char cvsroot_perl5_cxx[] = "$Header$";
diff --git a/Source/Modules/php4.cxx b/Source/Modules/php4.cxx
index 91c316000..cb4bfc741 100644
--- a/Source/Modules/php4.cxx
+++ b/Source/Modules/php4.cxx
@@ -1,18 +1,14 @@
-/*
- * PHP4 Support
- *
- * Richard Palmer
- * richard@magicality.org
- * Nov 2001
+/* -----------------------------------------------------------------------------
+ * 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.
*
- * Portions copyright Sun Microsystems (c) 2001
- * Tim Hockin <thockin@sun.com>
- *
- * Portions copyright Ananova Ltd (c) 2002
- * Sam Liddicott <sam@ananova.com>
+ * php4.cxx
*
+ * Php language module for SWIG.
+ * ----------------------------------------------------------------------------- */
+
+/*
* TODO: Replace stderr messages with Swig_warning
- *
*/
char cvsroot_php4_cxx[] = "$Header$";
diff --git a/Source/Modules/pike.cxx b/Source/Modules/pike.cxx
index a47360b9a..408c2e161 100644
--- a/Source/Modules/pike.cxx
+++ b/Source/Modules/pike.cxx
@@ -1,6 +1,13 @@
-/***********************************************************************
- * Pike language module for SWIG
+/* -----------------------------------------------------------------------------
+ * 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.cxx
+ *
+ * Pike language module for SWIG.
+ * ----------------------------------------------------------------------------- */
+
+/*
* Notes:
*
* - The current approach used for "out" typemaps is inconsistent with
@@ -16,7 +23,7 @@
* - Pike doesn't seem to provide any default way to print the memory
* address, etc. for extension objects. Should we do something here?
*
- ***********************************************************************/
+ */
char cvsroot_pike_cxx[] = "$Header$";
diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx
index d3f15d946..5288b5e45 100644
--- a/Source/Modules/python.cxx
+++ b/Source/Modules/python.cxx
@@ -1,12 +1,10 @@
/* -----------------------------------------------------------------------------
- * python.cxx
- *
- * Python module.
+ * 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)
+ * python.cxx
*
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * Python language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_python_cxx[] = "$Header$";
diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx
index a7d6a45ed..d049beac6 100644
--- a/Source/Modules/ruby.cxx
+++ b/Source/Modules/ruby.cxx
@@ -1,14 +1,11 @@
-/********************************************************************
- * Ruby module for SWIG
+/* -----------------------------------------------------------------------------
+ * 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.
*
- * $Header$
+ * ruby.cxx
*
- * Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
- * Copyright (C) 2000 Information-technology Promotion Agency, Japan
- *
- * Masaki Fukushima
- *
- ********************************************************************/
+ * Ruby language module for SWIG.
+ * ----------------------------------------------------------------------------- */
char cvsroot_ruby_cxx[] = "$Header$";
diff --git a/Source/Modules/s-exp.cxx b/Source/Modules/s-exp.cxx
index c762a2312..66e5b6afe 100644
--- a/Source/Modules/s-exp.cxx
+++ b/Source/Modules/s-exp.cxx
@@ -1,17 +1,14 @@
/* -----------------------------------------------------------------------------
- * s-exp.cxx
+ * 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.
*
- * A parse tree represented as Lisp s-expressions.
- *
- * Author(s) : Matthias Koeppe (mkoeppe@mail.math.uni-magdeburg.de)
+ * s-exp.cxx
*
- * Copyright (C) 2002. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * A parse tree represented as Lisp s-expressions.
* ----------------------------------------------------------------------------- */
-/* Derived from xml.cxx 1.1.2.2 */
-
char cvsroot_s_exp_cxx[] = "$Header$";
+
static const char *usage = "\
S-Exp Options (available with -sexp)\n\
-typemaplang <lang> - Typemap language\n\n";
diff --git a/Source/Modules/swigmain.cxx b/Source/Modules/swigmain.cxx
index f8d8ae865..87e96f8bf 100644
--- a/Source/Modules/swigmain.cxx
+++ b/Source/Modules/swigmain.cxx
@@ -1,24 +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.
+ *
* Simplified Wrapper and Interface Generator (SWIG)
*
* swigmain.cxx
*
- * This file is the main entry point to SWIG. It collects the command
- * line options, registers built-in language modules, and instantiates
- * a module for code generation. If adding new language modules
- * to SWIG, you would modify this file.
- *
- * Author : David Beazley
- *
- * Department of Computer Science
- * University of Chicago
- * 1100 E 58th Street
- * Chicago, IL 60637
- * beazley@cs.uchicago.edu
- *
- * Please read the file LICENSE for the copyright and terms by which SWIG
- * can be used and distributed.
- *******************************************************************************/
+ * This file is the main entry point to SWIG. It collects the command
+ * line options, registers built-in language modules, and instantiates
+ * a module for code generation. If adding new language modules
+ * to SWIG, you would modify this file.
+ * ----------------------------------------------------------------------------- */
char cvsroot_swigmain_cxx[] = "$Header$";
diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h
index 3bacc1c34..28f0d5cce 100644
--- a/Source/Modules/swigmod.h
+++ b/Source/Modules/swigmod.h
@@ -1,21 +1,16 @@
/* -----------------------------------------------------------------------------
- * swigmod.h
- *
- * Main header file for SWIG modules
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
+ * 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.
*
- * Copyright (C) 1998-2000. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
- *
- * See the file LICENSE for information on usage and redistribution.
+ * swigmod.h
*
- * $Header$
+ * Main header file for SWIG modules.
* ----------------------------------------------------------------------------- */
-#ifndef SWIGMOD_H_
-#define SWIGMOD_H_
+/* $Header$ */
+
+#ifndef SWIG_SWIGMOD_H_
+#define SWIG_SWIGMOD_H_
#include "swig.h"
#include "preprocessor.h"
diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx
index 0d09740d3..d4e4578fb 100644
--- a/Source/Modules/tcl8.cxx
+++ b/Source/Modules/tcl8.cxx
@@ -1,23 +1,10 @@
/* -----------------------------------------------------------------------------
- * tcl8.cxx
- *
- * Tcl8.0 wrapper module.
- *
- * Author(s) : David Beazley (beazley@cs.uchicago.edu)
- *
- * Copyright (C) 1999-2000. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * 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.
*
- * Incr Tcl 3.x support by Alexey Dyachenko (dyachenko@fromru.com)
- *
- * Based on
- * itcl.cxx
- * Author: Bob Techentin
- * based on tcl8 and python modules by David Beazley
- *
- * Module for creating Incr Tcl 3.x shadow classes
- * and Tcl 8.x native wrapper functions.
+ * tcl8.cxx
*
+ * Tcl8 language module for SWIG.
* ----------------------------------------------------------------------------- */
char cvsroot_tcl8_cxx[] = "$Header$";
diff --git a/Source/Modules/typepass.cxx b/Source/Modules/typepass.cxx
index c81c3db01..2a5c2dc98 100644
--- a/Source/Modules/typepass.cxx
+++ b/Source/Modules/typepass.cxx
@@ -1,20 +1,15 @@
/* -----------------------------------------------------------------------------
- * typepass.cxx
- *
- * This module builds all of the internal type information by collecting
- * typedef declarations as well as registering classes, structures, and unions.
- * This information is needed to correctly handle shadow classes and other
- * advanced features. This phase of compilation is also used to perform
- * type-expansion. All types are fully qualified with namespace prefixes
- * and other information needed for compilation.
+ * 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)
- *
- * Copyright (C) 1998-2002. The University of Chicago
- * Copyright (C) 1995-1998. The University of Utah and The Regents of the
- * University of California.
+ * typepass.cxx
*
- * See the file LICENSE for information on usage and redistribution.
+ * This module builds all of the internal type information by collecting
+ * typedef declarations as well as registering classes, structures, and unions.
+ * This information is needed to correctly handle shadow classes and other
+ * advanced features. This phase of compilation is also used to perform
+ * type-expansion. All types are fully qualified with namespace prefixes
+ * and other information needed for compilation.
* ----------------------------------------------------------------------------- */
char cvsroot_typepass_cxx[] = "$Header$";
diff --git a/Source/Modules/uffi.cxx b/Source/Modules/uffi.cxx
index b4b0196f5..8f1b819fe 100644
--- a/Source/Modules/uffi.cxx
+++ b/Source/Modules/uffi.cxx
@@ -1,5 +1,16 @@
-char cvsroot_uffi_cxx[] = "$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.
+ *
+ * uffi.cxx
+ *
+ * Uffi language module for SWIG.
+ * ----------------------------------------------------------------------------- */
+
// TODO: remove remnants of lisptype
+
+char cvsroot_uffi_cxx[] = "$Header$";
+
#include "swigmod.h"
class UFFI : public Language {
diff --git a/Source/Modules/utils.cxx b/Source/Modules/utils.cxx
index 65a90ed4c..ef753cd61 100644
--- a/Source/Modules/utils.cxx
+++ b/Source/Modules/utils.cxx
@@ -1,3 +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.
+ *
+ * utils.cxx
+ *
+ * Various utility functions.
+ * ----------------------------------------------------------------------------- */
+
+char cvsroot_utils_cxx[] = "$Header$";
#include <swigmod.h>
diff --git a/Source/Modules/xml.cxx b/Source/Modules/xml.cxx
index 4be1c099e..5a22c658f 100644
--- a/Source/Modules/xml.cxx
+++ b/Source/Modules/xml.cxx
@@ -1,16 +1,14 @@
/* -----------------------------------------------------------------------------
- * Xml.cxx
+ * 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.
*
- * An Xml parse tree generator
-
- * Author(s) : Swig base: David Beazley (beazley@cs.uchicago.edu)
- * Xml module: Klaus Wiederaenders (kwconsulting@compuserve.com
+ * xml.cxx
*
- * Copyright (C) 2002. The University of Chicago
- * See the file LICENSE for information on usage and redistribution.
+ * An Xml parse tree generator.
* ----------------------------------------------------------------------------- */
char cvsroot_xml_cxx[] = "$Header$";
+
static const char *usage = "\
XML Options (available with -xml)\n\
-xmllang <lang> - Typedef language\n\
@@ -21,7 +19,6 @@ XML Options (available with -xml)\n\
#include "swigmod.h"
-//static Node *view_top = 0;
static File *out = 0;
static int xmllite = 0;
@@ -29,9 +26,6 @@ static int xmllite = 0;
class XML
: public Language
{
-
-
-
public:
int indent_level;