From 7f74b8e7a3e0f87865025158882b530a2ccc7364 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 6 Mar 2006 22:51:01 +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@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/CParse/cparse.h | 18 +++++++-------- Source/CParse/cscanner.c | 13 ++++------- Source/CParse/parser.y | 30 +++++++----------------- Source/CParse/templ.c | 10 ++++---- Source/CParse/util.c | 10 ++++---- Source/Include/swigwarn.h | 37 ++++++++++++++++-------------- Source/Modules/allegrocl.cxx | 14 +++++------ Source/Modules/allocate.cxx | 21 +++++++---------- Source/Modules/browser.cxx | 12 ++++------ Source/Modules/cffi.cxx | 9 ++++---- Source/Modules/chicken.cxx | 28 ++++++---------------- Source/Modules/clisp.cxx | 9 ++++---- Source/Modules/contract.cxx | 14 ++++------- Source/Modules/csharp.cxx | 11 ++++----- Source/Modules/directors.cxx | 15 +++++------- Source/Modules/emit.cxx | 17 +++++--------- Source/Modules/guile.cxx | 31 +++++-------------------- Source/Modules/java.cxx | 11 ++++----- Source/Modules/lang.cxx | 13 ++++------- Source/Modules/lua.cxx | 10 ++++---- Source/Modules/main.cxx | 13 ++++------- Source/Modules/modula3.cxx | 12 ++++------ Source/Modules/module.cxx | 10 ++++---- Source/Modules/mzscheme.cxx | 28 ++++++---------------- Source/Modules/ocaml.cxx | 23 ++++++------------- Source/Modules/overload.cxx | 14 +++++------ Source/Modules/perl5.cxx | 14 ++++------- Source/Modules/php4.cxx | 22 ++++++++---------- Source/Modules/pike.cxx | 13 ++++++++--- Source/Modules/python.cxx | 10 ++++---- Source/Modules/ruby.cxx | 15 +++++------- Source/Modules/s-exp.cxx | 13 ++++------- Source/Modules/swigmain.cxx | 26 ++++++++------------- Source/Modules/swigmod.h | 21 +++++++---------- Source/Modules/tcl8.cxx | 21 ++++------------- Source/Modules/typepass.cxx | 23 ++++++++----------- Source/Modules/uffi.cxx | 13 ++++++++++- Source/Modules/utils.cxx | 10 ++++++++ Source/Modules/xml.cxx | 16 ++++--------- Source/Preprocessor/cpp.c | 20 ++++++++-------- Source/Preprocessor/expr.c | 12 ++++------ Source/Preprocessor/preprocessor.h | 18 +++++++-------- Source/Swig/cwrap.c | 15 ++++-------- Source/Swig/error.c | 16 ++++++------- Source/Swig/fragment.c | 18 +++++++-------- Source/Swig/getopt.c | 22 ++++++++---------- Source/Swig/include.c | 14 +++++------ Source/Swig/misc.c | 10 ++++---- Source/Swig/naming.c | 10 ++++---- Source/Swig/parms.c | 15 ++++-------- Source/Swig/scanner.c | 16 ++++++------- Source/Swig/stype.c | 12 ++++------ Source/Swig/swig.h | 15 +++++------- Source/Swig/swigkeys.c | 9 ++++++++ Source/Swig/swigkeys.h | 15 +++++++++--- Source/Swig/symbol.c | 10 ++++---- Source/Swig/tree.c | 16 ++++++------- Source/Swig/typemap.c | 10 ++++---- Source/Swig/typeobj.c | 16 ++++++------- Source/Swig/typesys.c | 16 ++++++------- Source/Swig/warn.c | 12 ++++------ Source/Swig/wrapfunc.c | 17 +++++--------- 62 files changed, 397 insertions(+), 587 deletions(-) diff --git a/Source/CParse/cparse.h b/Source/CParse/cparse.h index 5325297f9..81821784b 100644 --- a/Source/CParse/cparse.h +++ b/Source/CParse/cparse.h @@ -1,18 +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. + * * cparse.h * - * SWIG parser module. - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (C) 1999-2003. The University of Chicago - * See the file LICENSE for information on usage and redistribution. - * - * $Header$ + * SWIG parser module. * ----------------------------------------------------------------------------- */ -#ifndef CPARSE_H_ -#define CPARSE_H_ +/* $Header$ */ + +#ifndef SWIG_CPARSE_H_ +#define SWIG_CPARSE_H_ #include "swig.h" #include "swigwarn.h" diff --git a/Source/CParse/cscanner.c b/Source/CParse/cscanner.c index 09cbc7745..45ad622a3 100644 --- a/Source/CParse/cscanner.c +++ b/Source/CParse/cscanner.c @@ -1,15 +1,10 @@ /* ----------------------------------------------------------------------------- - * scanner.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. * - * SWIG1.1 tokenizer. + * scanner.c * - * 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. - * - * See the file LICENSE for information on usage and redistribution. + * SWIG tokenizer. * ----------------------------------------------------------------------------- */ char cvsroot_cscanner_c[] = "$Header$"; diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index 070b109da..b28834b2b 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -1,23 +1,16 @@ -%{ -#if 0 -} /* cc-mode */ -#endif /* ----------------------------------------------------------------------------- + * 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. + * * parser.y * - * YACC parser for SWIG. The grammar is a somewhat broken subset of C/C++. - * This file is a bit of a mess and probably needs to be rewritten at - * some point. Beware. - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (C) 1998-2001. 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. + * YACC parser for SWIG. The grammar is a somewhat broken subset of C/C++. + * This file is a bit of a mess and probably needs to be rewritten at + * some point. Beware. * ----------------------------------------------------------------------------- */ +%{ + #define yylex yylex char cvsroot_parser_y[] = "$Header$"; @@ -5840,10 +5833,3 @@ ParmList *Swig_cparse_parms(String *s) { return top; } - - - - - - - diff --git a/Source/CParse/templ.c b/Source/CParse/templ.c index 36f9c4ef5..0d8290384 100644 --- a/Source/CParse/templ.c +++ b/Source/CParse/templ.c @@ -1,12 +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. + * * templ.c * - * Expands a template into a specialized version. - * - * 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. + * Expands a template into a specialized version. * ----------------------------------------------------------------------------- */ char cvsroot_templ_c[] = "$Header$"; diff --git a/Source/CParse/util.c b/Source/CParse/util.c index a4daa7542..423088e6b 100644 --- a/Source/CParse/util.c +++ b/Source/CParse/util.c @@ -1,12 +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. + * * util.c * - * Parsing utilities - * - * 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. + * Parsing utilities. * ----------------------------------------------------------------------------- */ char cvsroot_util_c[] = "$Header$"; diff --git a/Source/Include/swigwarn.h b/Source/Include/swigwarn.h index 89dd941f3..fe7846cd8 100644 --- a/Source/Include/swigwarn.h +++ b/Source/Include/swigwarn.h @@ -1,22 +1,25 @@ -/* SWIG warning message numbers +/* ----------------------------------------------------------------------------- + * 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. + * + * swigwarn.h + * + * SWIG warning message numbers + * This file serves as the main registry of warning message numbers. Some of these + * numbers are used internally in the C/C++ source code of SWIG. However, some + * of the numbers are used in SWIG configuration files (swig.swg and others). + * + * The numbers are roughly organized into a few different classes by functionality. + * + * Even though symbolic constants are used in the SWIG source, this is + * not always the case in SWIG interface files. Do not change the + * numbers in this file. + * ----------------------------------------------------------------------------- */ - This file serves as the main registry of warning message numbers. Some of these - numbers are used internally in the C/C++ source code of SWIG. However, some - of the numbers are used in SWIG configuration files (swig.swg and others). +/* $Header$ */ - The numbers are roughly organized into a few different classes by functionality. - - Even though symbolic constants are used in the SWIG source, this is - not always the case in SWIG interface files. Do not change the - numbers in this file. - - */ - - - - -#ifndef _SWIGWARN_H -#define _SWIGWARN_H 1 +#ifndef SWIGWARN_H_ +#define SWIGWARN_H_ #define WARN_NONE 0 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * 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) - * - * Copyright (C) 1998-2002. 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. + * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * browser.cxx * - * 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) - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * cffi.cxx * - * cffi module. - * - * Author(s) : Surendra Singhi (surendra@asu.edu) - * - * 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,27 +1,13 @@ -/******************************************************************** - * CHICKEN module for SWIG - * - * 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. - * - ********************************************************************/ - -char cvsroot_chicken_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. * * chicken.cxx * - * Definitions for adding functions to CHICKEN - ***********************************************************************/ + * CHICKEN language module for SWIG. + * ----------------------------------------------------------------------------- */ + +char cvsroot_chicken_cxx[] = "$Header$"; #include "swigmod.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 @@ /* ----------------------------------------------------------------------------- + * 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.cxx * - * clisp module. - * - * Author(s) : Surendra Singhi (surendra@asu.edu) - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * contract.cxx * - * Support for Wrap by Contract in SWIG - * - * Author(s) : Songyan Feng (Tiger) (songyanf@cs.uchicago.edu) - * David Beazley (beazley@cs.uchicago.edu) - * - * Department of Computer Science - * University of Chicago - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * csharp.cxx * - * CSharp wrapper module. - * - * Author(s) : William Fulton - * Neil Cawse - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * directors.cxx * - * Director support functions. - * - * Not all of these may be necessary, and some may duplicate existing functionality - * in SWIG. --MR - * - * Author(s) : Mark Rose - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * emit.cxx * - * Useful functions for emitting various pieces of code. - * - * 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. - * - * 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 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 @@ /* ----------------------------------------------------------------------------- + * 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.cxx * - * Java wrapper module. - * - * Author(s) : William Fulton - * Harco de Hilster - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * lang.cxx * - * Language base class functions. Default C++ handling is also implemented here. - * - * 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. - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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.cxx * - * Lua wrapper module. - * - * Author(s) : Mark Gossage (mark@gossage.cjb.net) - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * main.cxx * - * Main entry point to the SWIG core. - * - * 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. - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * modula3.cxx * - * Modula3 wrapper module. - * - * Author(s) : Henning Thielemann - * - * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * module.cxx * - * This file is responsible for the module system. - * - * 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. + * 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,27 +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_mzscheme_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. * * mzscheme.cxx * - * Definitions for adding functions to Mzscheme 101 - ***********************************************************************/ + * Mzscheme language module for SWIG. + * ----------------------------------------------------------------------------- */ + +char cvsroot_mzscheme_cxx[] = "$Header$"; #include "swigmod.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,22 +1,13 @@ -/****************************************************************************** - * Simplified Wrapper and Interface Generator (SWIG) - * - * Author : Art Yerkes - * Modified from mzscheme.cxx : David Beazley - * - * Please read the file LICENSE for the copyright and terms by which SWIG - * can be used and distributed. - *****************************************************************************/ - -char cvsroot_ocaml_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. * * ocaml.cxx * - * Definitions for adding functions to Ocaml 101 - ***********************************************************************/ + * Ocaml language module for SWIG. + * ----------------------------------------------------------------------------- */ + +char cvsroot_ocaml_cxx[] = "$Header$"; #include "swigmod.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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * overload.cxx * - * 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) - * - * 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 @@ /* ---------------------------------------------------------------------------- + * 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. + * * perl5.cxx * - * Generate Perl5 wrappers - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * Loic Dachary (loic@ceic.com) - * David Fletcher - * Gary Holt - * Jason Stewart (jasons@apache.org) - * - * 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 @@ +/* ----------------------------------------------------------------------------- + * 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.cxx + * + * Php language module for SWIG. + * ----------------------------------------------------------------------------- */ + /* - * PHP4 Support - * - * Richard Palmer - * richard@magicality.org - * Nov 2001 - * - * Portions copyright Sun Microsystems (c) 2001 - * Tim Hockin - * - * Portions copyright Ananova Ltd (c) 2002 - * Sam Liddicott - * * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * python.cxx * - * Python 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. + * 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * s-exp.cxx * - * A parse tree represented as Lisp s-expressions. - * - * Author(s) : Matthias Koeppe (mkoeppe@mail.math.uni-magdeburg.de) - * - * 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 - 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * swigmod.h * - * Main header file for SWIG modules - * - * 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. - * - * See the file LICENSE for information on usage and redistribution. - * - * $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 @@ /* ----------------------------------------------------------------------------- + * 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.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. - * - * 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 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 @@ /* ----------------------------------------------------------------------------- + * 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. + * * 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. - * - * 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. - * - * 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 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 - 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; diff --git a/Source/Preprocessor/cpp.c b/Source/Preprocessor/cpp.c index 3766069d9..453abdd56 100644 --- a/Source/Preprocessor/cpp.c +++ b/Source/Preprocessor/cpp.c @@ -1,18 +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. + * * cpp.c * - * An implementation of a C preprocessor plus some support for additional - * SWIG directives. + * An implementation of a C preprocessor plus some support for additional + * SWIG directives. * - * - SWIG directives such as %include, %extern, and %import are handled - * - A new macro %define ... %enddef can be used for multiline macros - * - No preprocessing is performed in %{ ... %} blocks - * - Lines beginning with %# are stripped down to #... and passed through. - * - * 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. + * - SWIG directives such as %include, %extern, and %import are handled + * - A new macro %define ... %enddef can be used for multiline macros + * - No preprocessing is performed in %{ ... %} blocks + * - Lines beginning with %# are stripped down to #... and passed through. * ----------------------------------------------------------------------------- */ char cvsroot_cpp_c[] = "$Header$"; diff --git a/Source/Preprocessor/expr.c b/Source/Preprocessor/expr.c index ed3df8f20..ce9b3d973 100644 --- a/Source/Preprocessor/expr.c +++ b/Source/Preprocessor/expr.c @@ -1,13 +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. + * * expr.c * - * Integer arithmetic expression evaluator used to handle expressions - * encountered during preprocessing. - * - * 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. + * Integer arithmetic expression evaluator used to handle expressions + * encountered during preprocessing. * ----------------------------------------------------------------------------- */ char cvsroot_expr_c[] = "$Header$"; diff --git a/Source/Preprocessor/preprocessor.h b/Source/Preprocessor/preprocessor.h index 894f257d3..b34ec8c5a 100644 --- a/Source/Preprocessor/preprocessor.h +++ b/Source/Preprocessor/preprocessor.h @@ -1,18 +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. + * * preprocessor.h * - * SWIG preprocessor 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. - * - * $Header$ + * SWIG preprocessor module. * ----------------------------------------------------------------------------- */ -#ifndef PREPROCESSOR_H_ -#define PREPROCESSOR_H_ +/* $Header$ */ + +#ifndef SWIG_PREPROCESSOR_H_ +#define SWIG_PREPROCESSOR_H_ #include "swigwarn.h" diff --git a/Source/Swig/cwrap.c b/Source/Swig/cwrap.c index e766b7750..12e90486b 100644 --- a/Source/Swig/cwrap.c +++ b/Source/Swig/cwrap.c @@ -1,16 +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. + * * cwrap.c * - * This file defines a variety of wrapping rules for C/C++ handling including - * the naming of local variables, calling conventions, and so forth. - * - * 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. - * - * See the file LICENSE for information on usage and redistribution. + * This file defines a variety of wrapping rules for C/C++ handling including + * the naming of local variables, calling conventions, and so forth. * ----------------------------------------------------------------------------- */ char cvsroot_cwrap_c[] = "$Header$"; diff --git a/Source/Swig/error.c b/Source/Swig/error.c index 9df05bbbf..d8b9e133d 100644 --- a/Source/Swig/error.c +++ b/Source/Swig/error.c @@ -1,21 +1,19 @@ /* ----------------------------------------------------------------------------- + * 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. + * * error.c * - * Error handling functions. These are used to issue warnings and - * error messages. - * - * 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. + * Error handling functions. These are used to issue warnings and + * error messages. * ----------------------------------------------------------------------------- */ +char cvsroot_error_c[] = "$Header$"; + #include "swig.h" #include #include -char cvsroot_error_c[] = "$Header$"; - /* ----------------------------------------------------------------------------- * Commentary on the warning filter. * diff --git a/Source/Swig/fragment.c b/Source/Swig/fragment.c index 609a1d2af..7cf137050 100644 --- a/Source/Swig/fragment.c +++ b/Source/Swig/fragment.c @@ -1,17 +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. + * * fragment.c * - * This file manages named code fragments. Code fragments are typically - * used to hold helper-code that may or may not be included in the wrapper - * file (depending on what features are actually used in the interface). + * This file manages named code fragments. Code fragments are typically + * used to hold helper-code that may or may not be included in the wrapper + * file (depending on what features are actually used in the interface). * - * By using fragments, it's possible to greatly reduce the amount of - * wrapper code and to generate cleaner wrapper files. - * - * 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. + * By using fragments, it's possible to greatly reduce the amount of + * wrapper code and to generate cleaner wrapper files. * ----------------------------------------------------------------------------- */ char cvsroot_fragment_c[] = "$Header$"; diff --git a/Source/Swig/getopt.c b/Source/Swig/getopt.c index 2beb9a526..e6bafe5b7 100644 --- a/Source/Swig/getopt.c +++ b/Source/Swig/getopt.c @@ -1,19 +1,17 @@ /* ----------------------------------------------------------------------------- + * 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. + * * getopt.c * - * Handles the parsing of command line options. This is particularly nasty - * compared to other utilities given that command line options can potentially - * be read by many different modules within SWIG. Thus, in order to make sure - * there are no unrecognized options, each module is required to "mark" - * the options that it uses. Afterwards, we can make a quick scan to make - * sure there are no unmarked options. + * Handles the parsing of command line options. This is particularly nasty + * compared to other utilities given that command line options can potentially + * be read by many different modules within SWIG. Thus, in order to make sure + * there are no unrecognized options, each module is required to "mark" + * the options that it uses. Afterwards, we can make a quick scan to make + * sure there are no unmarked options. * - * 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. - * - * To do: + * TODO: * - This module needs to be modified so that it doesn't call exit(). * Should have cleaner error handling in general. * ----------------------------------------------------------------------------- */ diff --git a/Source/Swig/include.c b/Source/Swig/include.c index 03797a0a3..2580aac6c 100644 --- a/Source/Swig/include.c +++ b/Source/Swig/include.c @@ -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. + * * include.c * - * The functions in this file are used to manage files in the SWIG library. - * General purpose functions for opening, including, and retrieving pathnames - * are provided. - * - * 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. + * The functions in this file are used to manage files in the SWIG library. + * General purpose functions for opening, including, and retrieving pathnames + * are provided. * ----------------------------------------------------------------------------- */ char cvsroot_include_c[] = "$Header$"; diff --git a/Source/Swig/misc.c b/Source/Swig/misc.c index 9581e44cd..41a50c34c 100644 --- a/Source/Swig/misc.c +++ b/Source/Swig/misc.c @@ -1,12 +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. + * * misc.c * - * Miscellaneous functions that don't really fit anywhere else. - * - * 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. + * Miscellaneous functions that don't really fit anywhere else. * ----------------------------------------------------------------------------- */ char cvsroot_misc_c[] = "$Header$"; diff --git a/Source/Swig/naming.c b/Source/Swig/naming.c index 54a655693..47aafab29 100644 --- a/Source/Swig/naming.c +++ b/Source/Swig/naming.c @@ -1,12 +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. + * * naming.c * - * Functions for generating various kinds of names during code generation - * - * 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. + * Functions for generating various kinds of names during code generation. * ----------------------------------------------------------------------------- */ char cvsroot_naming_c[] = "$Header$"; diff --git a/Source/Swig/parms.c b/Source/Swig/parms.c index ae4e034ac..243a4fbf0 100644 --- a/Source/Swig/parms.c +++ b/Source/Swig/parms.c @@ -1,17 +1,10 @@ /* ----------------------------------------------------------------------------- - * parms.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. * - * Parameter list class. + * parms.c * - * !!! This file is deprecated and is being replaced !!! - * - * 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. - * - * See the file LICENSE for information on usage and redistribution. + * Parameter list class. * ----------------------------------------------------------------------------- */ char cvsroot_parms_c[] = "$Header$"; diff --git a/Source/Swig/scanner.c b/Source/Swig/scanner.c index e6b815473..ef340df05 100644 --- a/Source/Swig/scanner.c +++ b/Source/Swig/scanner.c @@ -1,15 +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. + * * scanner.c * - * This file implements a general purpose C/C++ compatible lexical scanner. - * This scanner isn't intended to be plugged directly into a parser built - * with yacc. Rather, it contains a lot of generic code that could be used - * to easily construct yacc-compatible scanners. - * - * 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. + * This file implements a general purpose C/C++ compatible lexical scanner. + * This scanner isn't intended to be plugged directly into a parser built + * with yacc. Rather, it contains a lot of generic code that could be used + * to easily construct yacc-compatible scanners. * ----------------------------------------------------------------------------- */ char cvsroot_scanner_c[] = "$Header$"; diff --git a/Source/Swig/stype.c b/Source/Swig/stype.c index 0f1976e70..e74853b05 100644 --- a/Source/Swig/stype.c +++ b/Source/Swig/stype.c @@ -1,13 +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. + * * stype.c * - * This file provides general support for datatypes that are encoded in - * the form of simple strings. - * - * 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. + * This file provides general support for datatypes that are encoded in + * the form of simple strings. * ----------------------------------------------------------------------------- */ char cvsroot_stype_c[] = "$Header$"; diff --git a/Source/Swig/swig.h b/Source/Swig/swig.h index c63f424d2..d67235acd 100644 --- a/Source/Swig/swig.h +++ b/Source/Swig/swig.h @@ -1,17 +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. + * * swig.h * - * Header file for the SWIG core. - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * Dustin Mitchell (djmitche@cs.uchicago.edu) - * - * Copyright (C) 1999-2000. The University of Chicago - * See the file LICENSE for information on usage and redistribution. - * - * $Header$ + * Header file for the SWIG core. * ----------------------------------------------------------------------------- */ +/* $Header$ */ + #ifndef SWIGCORE_H_ #define SWIGCORE_H_ diff --git a/Source/Swig/swigkeys.c b/Source/Swig/swigkeys.c index 6036c7a56..91a03a3e7 100644 --- a/Source/Swig/swigkeys.c +++ b/Source/Swig/swigkeys.c @@ -1,3 +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. + * + * swigkeys.c + * ----------------------------------------------------------------------------- */ + +char cvsroot_keys_c[] = "$Header$"; + #include "swigkeys.h" String *empty_string = 0; diff --git a/Source/Swig/swigkeys.h b/Source/Swig/swigkeys.h index f6e9a188b..2204bcbb0 100644 --- a/Source/Swig/swigkeys.h +++ b/Source/Swig/swigkeys.h @@ -1,5 +1,14 @@ -#ifndef __Swig_swigkeys_h__ -#define __Swig_swigkeys_h__ +/* ----------------------------------------------------------------------------- + * 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. + * + * swigkeys.h + * ----------------------------------------------------------------------------- */ + +/* $Header$ */ + +#ifndef SWIG_SWIGKEYS_H_ +#define SWIG_SWIGKEYS_H_ #include "swig.h" @@ -131,4 +140,4 @@ extern String *k_previoussibling; extern String *k_nextsibling; extern String *k_firstchild; extern String *k_lastchild; -#endif /* __Swig_swigkeys_h__ */ +#endif /* SWIG_SWIGKEYS_H_ */ diff --git a/Source/Swig/symbol.c b/Source/Swig/symbol.c index df8862200..31a68e215 100644 --- a/Source/Swig/symbol.c +++ b/Source/Swig/symbol.c @@ -1,12 +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. + * * symbol.c * - * This file implements the SWIG symbol table. See details below. - * - * 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. + * This file implements the SWIG symbol table. See details below. * ----------------------------------------------------------------------------- */ char cvsroot_symbol_c[] = "$Header$"; diff --git a/Source/Swig/tree.c b/Source/Swig/tree.c index e9e140fed..6aeab3a2d 100644 --- a/Source/Swig/tree.c +++ b/Source/Swig/tree.c @@ -1,22 +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. + * * tree.c * - * This file provides some general purpose functions for manipulating - * parse trees. - * - * 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. + * This file provides some general purpose functions for manipulating + * parse trees. * ----------------------------------------------------------------------------- */ +char cvsroot_tree_c[] = "$Header$"; + #include "swig.h" #include "swigkeys.h" #include #include -char cvsroot_tree_c[] = "$Header$"; - /* ----------------------------------------------------------------------------- * Swig_print_tags() * diff --git a/Source/Swig/typemap.c b/Source/Swig/typemap.c index a34465711..58d612471 100644 --- a/Source/Swig/typemap.c +++ b/Source/Swig/typemap.c @@ -1,12 +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. + * * typemap.c * - * A somewhat generalized implementation of SWIG1.1 typemaps. - * - * 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. + * A somewhat generalized implementation of SWIG1.1 typemaps. * ----------------------------------------------------------------------------- */ char cvsroot_typemap_c[] = "$Header$"; diff --git a/Source/Swig/typeobj.c b/Source/Swig/typeobj.c index 372b2f3d5..24c92f800 100644 --- a/Source/Swig/typeobj.c +++ b/Source/Swig/typeobj.c @@ -1,15 +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. + * * typeobj.c * - * This file provides functions for constructing, manipulating, and testing - * type objects. Type objects are merely the raw low-level representation - * of C++ types. They do not incorporate high-level type system features - * like typedef, namespaces, etc. - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (C) 1999-2003. The University of Chicago - * See the file LICENSE for information on usage and redistribution. + * This file provides functions for constructing, manipulating, and testing + * type objects. Type objects are merely the raw low-level representation + * of C++ types. They do not incorporate high-level type system features + * like typedef, namespaces, etc. * ----------------------------------------------------------------------------- */ char cvsroot_typeobj_c[] = "$Header$"; diff --git a/Source/Swig/typesys.c b/Source/Swig/typesys.c index feb5f3af9..e082058cb 100644 --- a/Source/Swig/typesys.c +++ b/Source/Swig/typesys.c @@ -1,15 +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. + * * typesys.c * - * SWIG type system management. These functions are used to manage - * the C++ type system including typenames, typedef, type scopes, - * inheritance, and namespaces. Generation of support code for the - * run-time type checker is also handled here. - * - * 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. + * SWIG type system management. These functions are used to manage + * the C++ type system including typenames, typedef, type scopes, + * inheritance, and namespaces. Generation of support code for the + * run-time type checker is also handled here. * ----------------------------------------------------------------------------- */ char cvsroot_typesys_c[] = "$Header$"; diff --git a/Source/Swig/warn.c b/Source/Swig/warn.c index 805f0a4dd..ccb4c4f80 100644 --- a/Source/Swig/warn.c +++ b/Source/Swig/warn.c @@ -1,13 +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. + * * warn.c * - * SWIG warning framework. This was added to warn developers about - * deprecated APIs and other features. - * - * Author(s) : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (C) 1999-2001. The University of Chicago - * See the file LICENSE for information on usage and redistribution. + * SWIG warning framework. This was added to warn developers about + * deprecated APIs and other features. * ----------------------------------------------------------------------------- */ char cvsroot_warn_c[] = "$Header$"; diff --git a/Source/Swig/wrapfunc.c b/Source/Swig/wrapfunc.c index b387f45e8..ca5eb7122 100644 --- a/Source/Swig/wrapfunc.c +++ b/Source/Swig/wrapfunc.c @@ -1,17 +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. + * * wrapfunc.c * - * This file defines a object for creating wrapper functions. Primarily - * this is used for convenience since it allows pieces of a wrapper function - * to be created in a piecemeal manner. - * - * 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. - * - * See the file LICENSE for information on usage and redistribution. + * This file defines a object for creating wrapper functions. Primarily + * this is used for convenience since it allows pieces of a wrapper function + * to be created in a piecemeal manner. * ----------------------------------------------------------------------------- */ char cvsroot_wrapfunc_c[] = "$Header$";