Common template for head of each file detailing licence, distribution and authors information

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-03-07 00:14:10 +00:00
commit 49be05f4fd
153 changed files with 1209 additions and 801 deletions

View file

@ -1,13 +1,12 @@
/***********************************************************************
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* director.swg
*
* This file contains support for director classes that proxy
* method calls from C++ to Ruby extensions.
*
* Author : Lyle Johnson (lyle@users.sourceforge.net)
* Based on the original Python implementation by
* Mark Rose (mrose@stm.lbl.gov).
************************************************************************/
* ----------------------------------------------------------------------------- */
/*
Use -DSWIG_DIRECTOR_NOUEH if you prefer to avoid the use of the

View file

@ -1,5 +1,5 @@
#ifndef __ruby_rubykw_swg__
#define __ruby_rubykw_swg__
#ifndef RUBY_RUBYKW_SWG_
#define RUBY_RUBYKW_SWG_
/* Warnings for Ruby keywords */
#define RUBYKW(x) %keywordwarn("'" `x` "' is a ruby keyword, and it will renamed as 'C_"`x`"'",rename="C_%s",fullname=1) `x`
@ -52,4 +52,4 @@ RUBYKW(yield);
#undef RUBYKW
#endif //__ruby_rubykw_swg__
#endif //RUBY_RUBYKW_SWG_

View file

@ -1,8 +1,15 @@
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* rubyprimtypes.swg
*
* ----------------------------------------------------------------------------- */
/* ------------------------------------------------------------
* Primitive Types
* ------------------------------------------------------------ */
/* auxiliar ruby fail method */
/* auxiliary ruby fail method */
%fragment("SWIG_ruby_failed","header")
{

View file

@ -1,5 +1,11 @@
/***********************************************************************
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* rubyrun.swg
*
* ----------------------------------------------------------------------------- */
/***********************************************************************
*
* This file contains the runtime support for Ruby modules
* and includes code for managing global variables and pointer

View file

@ -1,12 +1,14 @@
/***********************************************************************
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* rubytracking.swg
*
* This file contains support for tracking mappings from
* Ruby objects to C++ objects. This functionality is needed
* to implement mark functions for Ruby's mark and sweep
* garbage collector.
************************************************************************/
* ----------------------------------------------------------------------------- */
#ifdef __cplusplus
extern "C" {

View file

@ -1,9 +1,11 @@
//
// SWIG typemaps for STL - common utilities
// Luigi Ballabio
// Aug 3, 2002
//
// Ruby implementation
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* std_common.i
*
* SWIG typemaps for STL - common utilities
* ----------------------------------------------------------------------------- */
%include <std/std_except.i>

View file

@ -1,9 +1,11 @@
//
// SWIG typemaps for std::map
// Luigi Ballabio
// Jan. 2003
//
// Ruby implementation
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* std_map.i
*
* SWIG typemaps for std::map
* ----------------------------------------------------------------------------- */
%include <std_common.i>

View file

@ -1,9 +1,11 @@
//
// SWIG typemaps for std::pair
// Luigi Ballabio
// July 2003
//
// Ruby implementation
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* std_pair.i
*
* SWIG typemaps for std::pair
* ----------------------------------------------------------------------------- */
%include <std_common.i>
%include <exception.i>

View file

@ -1,9 +1,11 @@
//
// SWIG typemaps for std::vector
// Luigi Ballabio
// Apr 8, 2002
//
// Ruby implementation
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* std_vector.i
*
* SWIG typemaps for std::vector
* ----------------------------------------------------------------------------- */
%include <std_common.i>

View file

@ -1,4 +1,12 @@
/* initial STL definition. extended as needed in each language */
/* -----------------------------------------------------------------------------
* See the LICENSE file for information on copyright, usage and redistribution
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
*
* stl.i
*
* Initial STL definition. extended as needed in each language
* ----------------------------------------------------------------------------- */
%include <std_common.i>
%include <std_string.i>
%include <std_vector.i>