From 49be05f4fd2fb9f41330b4eb82091a04ba314939 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 7 Mar 2006 00:14:10 +0000 Subject: Common template for head of each file detailing licence, distribution and authors information git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/lua/_std_common.i | 11 ++++++----- Lib/lua/lua.swg | 14 +++++++------- Lib/lua/luarun.swg | 15 ++++++++------- Lib/lua/std_except.i | 14 +++++++++++--- Lib/lua/std_pair.i | 11 ++++++----- Lib/lua/std_string.i | 11 ++++++----- Lib/lua/std_vector.i | 13 +++++++------ Lib/lua/typemaps.i | 10 +++++++++- 8 files changed, 60 insertions(+), 39 deletions(-) (limited to 'Lib/lua') diff --git a/Lib/lua/_std_common.i b/Lib/lua/_std_common.i index 3b30ae215..33cc513c3 100644 --- a/Lib/lua/_std_common.i +++ b/Lib/lua/_std_common.i @@ -1,10 +1,11 @@ -/*********************************************************************** - * _std_stl.i +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * std::helpers for LUA + * _std_common.i * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::helpers for LUA + * ----------------------------------------------------------------------------- */ %include // the general exepctions diff --git a/Lib/lua/lua.swg b/Lib/lua/lua.swg index 12cc55209..77b26b9f5 100644 --- a/Lib/lua/lua.swg +++ b/Lib/lua/lua.swg @@ -1,12 +1,12 @@ -/*********************************************************************** - * lua.swg +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * SWIG Configuration File for Lua - * This file is parsed by SWIG before reading any other interface - * file. + * lua.swg * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * SWIG Configuration File for Lua. + * This file is parsed by SWIG before reading any other interface file. + * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- * includes diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index dd156dad2..48bd9a79a 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1,12 +1,13 @@ -/*********************************************************************** - * luarun.swg +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * This file contains the runtime support for Lua modules - * and includes code for managing global variables and pointer - * type checking. + * luarun.swg * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * This file contains the runtime support for Lua modules + * and includes code for managing global variables and pointer + * type checking. + * ----------------------------------------------------------------------------- */ #ifdef __cplusplus extern "C" { diff --git a/Lib/lua/std_except.i b/Lib/lua/std_except.i index 26930bd40..3732ebd44 100644 --- a/Lib/lua/std_except.i +++ b/Lib/lua/std_except.i @@ -1,6 +1,14 @@ -// Typemaps used by the STL wrappers that throw exceptions. -// These typemaps are used when methods are declared with an STL exception specification, such as -// size_t at() const throw (std::out_of_range); +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * + * Typemaps used by the STL wrappers that throw exceptions. + * These typemaps are used when methods are declared with an STL exception + * specification, such as: + * size_t at() const throw (std::out_of_range); + * + * std_except.i + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_pair.i b/Lib/lua/std_pair.i index 725a91d71..1b20f74e0 100644 --- a/Lib/lua/std_pair.i +++ b/Lib/lua/std_pair.i @@ -1,10 +1,11 @@ -/*********************************************************************** - * std_pair.i +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * std::pair typemaps for LUA + * std_pair.i * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::pair typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_string.i b/Lib/lua/std_string.i index 0d8e3f473..900024cda 100644 --- a/Lib/lua/std_string.i +++ b/Lib/lua/std_string.i @@ -1,10 +1,11 @@ -/*********************************************************************** - * std_string.i +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * std::string typemaps for LUA + * std_string.i * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::string typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include diff --git a/Lib/lua/std_vector.i b/Lib/lua/std_vector.i index e6e589f90..c6778087f 100644 --- a/Lib/lua/std_vector.i +++ b/Lib/lua/std_vector.i @@ -1,10 +1,11 @@ -/*********************************************************************** - * std_vector.i +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. * - * std::vector typemaps for LUA + * std_vector.i * - * Author : Mark Gossage (mark@gossage.cjb.net) - ************************************************************************/ + * std::vector typemaps for LUA + * ----------------------------------------------------------------------------- */ %{ #include @@ -130,4 +131,4 @@ int SWIG_write_number_vector(lua_State* L,std::vector *vec) %{ SWIG_write_number_vector(L,$1); SWIG_arg++; %} %enddef -*/ \ No newline at end of file +*/ diff --git a/Lib/lua/typemaps.i b/Lib/lua/typemaps.i index 9c013557f..cb942f26a 100644 --- a/Lib/lua/typemaps.i +++ b/Lib/lua/typemaps.i @@ -1,5 +1,13 @@ -/*********************************************************************** +/* ----------------------------------------------------------------------------- + * See the LICENSE file for information on copyright, usage and redistribution + * of SWIG, and the README file for authors - http://www.swig.org/release.html. + * * typemaps.swg + * + * SWIG Library file containing the main typemap code to support Lua modules. + * ----------------------------------------------------------------------------- */ + +/*********************************************************************** * * This file contains the main typemap code to support Lua modules * -- cgit v1.2.1