cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
33cfa55484
commit
797317163a
16 changed files with 90 additions and 103 deletions
|
|
@ -495,4 +495,4 @@ SWIGEXPORT int SWIG_import(lua_State* L)
|
|||
/* Note: the initialization function is closed after all code is generated */
|
||||
|
||||
|
||||
/*************************** end lua.swg ******************************/
|
||||
/* ------------------------------ end lua.swg ------------------------------ */
|
||||
|
|
|
|||
|
|
@ -623,4 +623,4 @@ SWIG_Lua_SetModule(lua_State* L, swig_module_info *module) {
|
|||
}
|
||||
#endif
|
||||
|
||||
/*************************** end luarun.swg ******************************/
|
||||
/* ------------------------------ end luarun.swg ------------------------------ */
|
||||
|
|
|
|||
|
|
@ -7,13 +7,6 @@
|
|||
* SWIG Library file containing the main typemap code to support Lua modules.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* This file contains the main typemap code to support Lua modules
|
||||
*
|
||||
* Author : Mark Gossage (mark@gossage.cjb.net)
|
||||
************************************************************************/
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Basic inout typemaps
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
|
|
|||
|
|
@ -99,8 +99,9 @@ extern "C" {
|
|||
$1 = &temp;
|
||||
}
|
||||
|
||||
/************************ Output Typemaps *****************************/
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Output Typemaps
|
||||
* ----------------------------------------------------------------------------- */
|
||||
%typemap(out, pikedesc="tInt")
|
||||
int, unsigned int,
|
||||
short, unsigned short,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/********************************************************************************
|
||||
/* -----------------------------------------------------------------------------
|
||||
*
|
||||
* User interfaces: include these ones as needed
|
||||
*
|
||||
********************************************************************************/
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Special types and user helpers
|
||||
|
|
@ -50,11 +50,11 @@ std_wstring.i wstring
|
|||
|
||||
|
||||
|
||||
/********************************************************************************
|
||||
/* -----------------------------------------------------------------------------
|
||||
/*
|
||||
* Implementation files: don't look at them unless you are realy drunk
|
||||
*
|
||||
********************************************************************************/
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Basic files
|
||||
|
|
|
|||
|
|
@ -4,14 +4,10 @@
|
|||
*
|
||||
* rubyrun.swg
|
||||
*
|
||||
* This file contains the runtime support for Ruby modules
|
||||
* and includes code for managing global variables and pointer
|
||||
* type checking.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
/***********************************************************************
|
||||
*
|
||||
* This file contains the runtime support for Ruby modules
|
||||
* and includes code for managing global variables and pointer
|
||||
* type checking.
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
/* For backward compatibility only */
|
||||
#define SWIG_POINTER_EXCEPTION 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/*************************************************************************
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Type initialization:
|
||||
* This problem is tough by the requirement that no dynamic
|
||||
* memory is used. Also, since swig_type_info structures store pointers to
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* swig_module, and does all the lookup, filling in the swig_module.types
|
||||
* array with the correct data and linking the correct swig_cast_info
|
||||
* structures together.
|
||||
|
||||
*
|
||||
* The generated swig_type_info structures are assigned staticly to an initial
|
||||
* array. We just loop though that array, and handle each type individually.
|
||||
* First we lookup if this type has been already loaded, and if so, use the
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
* we find the array of casts associated with the type, and loop through it
|
||||
* adding the casts to the list. The one last trick we need to do is making
|
||||
* sure the type pointer in the swig_cast_info struct is correct.
|
||||
|
||||
*
|
||||
* First off, we lookup the cast->type name to see if it is already loaded.
|
||||
* There are three cases to handle:
|
||||
* 1) If the cast->type has already been loaded AND the type we are adding
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
* 3) Finally, if cast->type has not already been loaded, then we add that
|
||||
* swig_cast_info to the linked list (because the cast->type) pointer will
|
||||
* be correct.
|
||||
**/
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
/***********************************************************************
|
||||
*
|
||||
/* -----------------------------------------------------------------------------
|
||||
* This section contains generic SWIG labels for method/variable
|
||||
* declarations/attributes, and other compiler dependent labels.
|
||||
*
|
||||
************************************************************************/
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* template workaround for compilers that cannot correctly implement the C++ standard */
|
||||
#ifndef SWIGTEMPLATEDISAMBIGUATOR
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
/***********************************************************************
|
||||
/* -----------------------------------------------------------------------------
|
||||
* swigrun.swg
|
||||
*
|
||||
* This file contains generic CAPI SWIG runtime support for pointer
|
||||
* type checking.
|
||||
*
|
||||
************************************************************************/
|
||||
* This file contains generic CAPI SWIG runtime support for pointer
|
||||
* type checking.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
/* This should only be incremented when either the layout of swig_type_info changes,
|
||||
or for whatever reason, the runtime changes incompatibly */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue