From 81569250c09712faef4872ad300f17d162c2ab91 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Mon, 24 Jul 2000 03:37:01 +0000 Subject: [PATCH] Worked on C wrapper docs some more. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@596 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/internals.html | 108 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 95 insertions(+), 13 deletions(-) diff --git a/Doc/internals.html b/Doc/internals.html index cb72328d5..3b24c6f11 100644 --- a/Doc/internals.html +++ b/Doc/internals.html @@ -648,15 +648,15 @@ repeated calls without making any copies. [TODO] -

7. C/C++ Wrapper Support Functions

+

7. The C/C++ Wrapping Layer

Added: Dave Beazley (July 22, 2000)

-When generating wrappers, SWIG tries to provide a mostly -seamless with the original code. However, there are a number of -problematic features of C/C++ that are handled in the following manner: +When SWIG generates wrappers, it tries to provide a mostly seamless integration +with the original code. However, there are a number of problematic features +of C/C++ programs that complicate this interface.

-All of these transformations are handled by a collection of functions found -in the file Source/Swig/cwrap.c. +The creation of wrappers and various type transformations are handled by a collection of functions +found in the file Source/Swig/cwrap.c. Here is a short example showing how these functions could be used. Suppose you had a