Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
92bceacc38
commit
925adeb175
10 changed files with 1 additions and 21 deletions
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>Wrapping a simple C++ class</H2>
|
<H2>Wrapping a simple C++ class</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This example illustrates C++ class wrapping performed by SWIG.
|
This example illustrates C++ class wrapping performed by SWIG.
|
||||||
C++ classes are simply transformed into Ruby classes that provide methods to
|
C++ classes are simply transformed into Ruby classes that provide methods to
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
<H2>Wrapping C Constants</H2>
|
<H2>Wrapping C Constants</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
When SWIG encounters C preprocessor macros and C declarations that look like constants,
|
When SWIG encounters C preprocessor macros and C declarations that look like constants,
|
||||||
it creates Ruby constants with an identical value. Click <a href="example.i">here</a>
|
it creates Ruby constants with an identical value. Click <a href="example.i">here</a>
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>Wrapping enumerations</H2>
|
<H2>Wrapping enumerations</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This example tests SWIG's ability to wrap enumerations. By default, SWIG
|
This example tests SWIG's ability to wrap enumerations. By default, SWIG
|
||||||
converts enumeration specifications into integer constants. Further use
|
converts enumeration specifications into integer constants. Further use
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>Pointers to Functions</H2>
|
<H2>Pointers to Functions</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Okay, just what in the heck does SWIG do with a declaration like this?
|
Okay, just what in the heck does SWIG do with a declaration like this?
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@
|
||||||
<body bgcolor="#ffffff">
|
<body bgcolor="#ffffff">
|
||||||
<H1>SWIG Ruby Examples</H1>
|
<H1>SWIG Ruby Examples</H1>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The following examples illustrate the use of SWIG with Ruby.
|
The following examples illustrate the use of SWIG with Ruby.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
<H2>Simple Pointer Handling</H2>
|
<H2>Simple Pointer Handling</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This example illustrates a couple of techniques for handling
|
This example illustrates a couple of techniques for handling
|
||||||
simple pointers in SWIG. The prototypical example is a C function
|
simple pointers in SWIG. The prototypical example is a C function
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>C++ Reference Handling</H2>
|
<H2>C++ Reference Handling</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This example tests SWIG's handling of C++ references. Since C++
|
This example tests SWIG's handling of C++ references. Since C++
|
||||||
references are closely related to pointers (as both refer to a
|
references are closely related to pointers (as both refer to a
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>Simple Ruby Example</H2>
|
<H2>Simple Ruby Example</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This example illustrates how you can hook Ruby to a very simple C program containing
|
This example illustrates how you can hook Ruby to a very simple C program containing
|
||||||
a function and a global variable.
|
a function and a global variable.
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
<H2>Passing and Returning Structures by Value</H2>
|
<H2>Passing and Returning Structures by Value</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Occasionally, a C program will manipulate structures by value such as shown in the
|
Occasionally, a C program will manipulate structures by value such as shown in the
|
||||||
following code:
|
following code:
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
<H2>Wrapping C Global Variables</H2>
|
<H2>Wrapping C Global Variables</H2>
|
||||||
|
|
||||||
<tt>$Header$</tt><br>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
When a C global variable appears in an interface file, SWIG tries to
|
When a C global variable appears in an interface file, SWIG tries to
|
||||||
wrap it using a technique known as "variable linking." The idea is
|
wrap it using a technique known as "variable linking." The idea is
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue