diff --git a/SWIG/Doc/Manual/Extending.html b/SWIG/Doc/Manual/Extending.html index 8db934c68..e7a7bc21d 100644 --- a/SWIG/Doc/Manual/Extending.html +++ b/SWIG/Doc/Manual/Extending.html @@ -6,7 +6,7 @@
-@@ -91,7 +91,7 @@ Also, this chapter is not meant to be a hand-holding tutorial. As a starting po you should probably look at one of SWIG's existing modules.
-@@ -121,7 +121,7 @@ obvious, but almost all SWIG directives as well as the low-level generation of wrapper code are driven by C++ datatypes.
-@@ -158,7 +158,7 @@ role in making the system work. For example, both typemaps and declaration anno based on pattern matching and interact heavily with the underlying type system.
-@@ -203,7 +203,7 @@ stage of compilation. The next few sections briefly describe some of these stages.
-@@ -283,7 +283,7 @@ been expanded as well as everything else that goes into the low-level construction of the wrapper code.
-@@ -384,7 +384,7 @@ returning a foo and taking types a and b as arguments).
-@@ -636,7 +636,7 @@ $ swig -c++ -python -dump_tree example.i
@@ -655,7 +655,7 @@ that matches the name of the target language. For example, python:foo perl:foo.
-@@ -743,7 +743,7 @@ example.i:5. Previous declaration is foo_i(int ) -
@@ -799,7 +799,7 @@ For example, the exception code above is simply stored without any modifications.
-@@ -921,7 +921,7 @@ public : The role of these functions is described shortly.
-@@ -934,7 +934,7 @@ internal data structures, it may be useful keep XML in the back of your mind as a model.
-@@ -980,7 +980,7 @@ typedef Hash Typetab; -
@@ -1121,7 +1121,7 @@ Returns the number of replacements made (if any). -
@@ -1198,7 +1198,7 @@ Returns the list of hash table keys. -
@@ -1287,7 +1287,7 @@ If t is not a standard object, it is assumed to be a char * and is used to create a String object. -
@@ -1774,7 +1774,7 @@ the attribute is optional. Swig_restore() must always be called after function. -
@@ -1783,7 +1783,7 @@ pointers, references, and pointers to members. A detailed discussion of type theory is impossible here. However, let's cover the highlights.
-@@ -1884,7 +1884,7 @@ make the final type, the two parts are just joined together using string concatenation.
-@@ -2053,7 +2053,7 @@ Returns the prefix of a type. For example, if ty is ty is unmodified. -
@@ -2140,7 +2140,7 @@ Checks if ty is a varargs type. Checks if ty is a templatized type. -
@@ -2242,7 +2242,7 @@ Fully reduces ty according to typedef rules. Resulting datatype will consist only of primitive typenames. -
@@ -2279,7 +2279,7 @@ Literal y; // type = 'Literal', ltype='p.char' -
@@ -2341,7 +2341,7 @@ SWIG, but is most commonly associated with type-descriptor objects that appear in wrappers (e.g., SWIGTYPE_p_double). -
@@ -2440,7 +2440,7 @@ included. Used to emit prototypes. Returns the number of required (non-optional) arguments in p. -
@@ -2451,7 +2451,7 @@ describes the creation of a minimal Python module. You should be able to extra this to other languages.
-@@ -2461,7 +2461,7 @@ the parsing of command line options, all aspects of code generation are controll different methods of the Language that must be defined by your module.
-@@ -2574,7 +2574,7 @@ that activates your module. For example, swig -python foo.i. The messages from your new module should appear.
-@@ -2633,7 +2633,7 @@ to mark the option as valid. If you forget to do this, SWIG will terminate wit unrecognized command line option error.
-@@ -2682,7 +2682,7 @@ an implementation file python.cxx and a configuration file python.swg.
-@@ -2740,13 +2740,13 @@ int Python::top(Node *n) { -
@@ -2910,7 +2910,7 @@ Discuss the kinds of functions typically needed for SWIG runtime support (e.g. the SWIG files that implement those functions.
-@@ -2924,7 +2924,7 @@ Discuss the standard library files that most language modules provide, e.g.
@@ -2951,7 +2951,7 @@ during this process, see the section on configuration files.
-@@ -2983,13 +2983,13 @@ Some topics that you'll want to be sure to address include: if available. -
diff --git a/SWIG/Doc/Manual/Php.html b/SWIG/Doc/Manual/Php.html index 23017d1c7..1291c3468 100644 --- a/SWIG/Doc/Manual/Php.html +++ b/SWIG/Doc/Manual/Php.html @@ -11,7 +11,7 @@
Caution: This chapter (and module!) is still under construction
@@ -66,6 +67,7 @@ each script), you will need the complete PHP source tree available.To build a PHP4 extension, run swig using the -php4 option as follows : @@ -103,6 +105,7 @@ the '-phpfull' command line switch to select the second build method.
There are two methods to build the extension as a dynamically loaded module: using standard compilation utilities (make, gcc), or using @@ -192,6 +195,7 @@ additional optional arguments:
This method, selected with the -phpfull command line switch, involves rebuilding the entire php source tree. Whilst more complicated to build, @@ -249,6 +253,7 @@ does not have the 'dl' command as used above.
To test the extension from a PHP script, you need to load it first. You do this by putting the line, @@ -271,6 +276,7 @@ attempts to do the dl() call for you:
It is important to understand that PHP uses a single global namespace into which all symbols from extension modules are loaded. It is quite @@ -405,6 +411,7 @@ Apologies, this paragraph needs rewritting to make some sense. )
Because PHP4 does not provide a mechanism to intercept access and assignment of global variables, global variables are supported through @@ -453,6 +460,7 @@ At this time SWIG does not support custom accessor methods.
C functions are converted into PHP functions. Default/optional arguments are also allowed. An interface file like this : @@ -503,6 +511,7 @@ print $s; # The value of $s was not changed.
Although PHP4 does not support overloading functions natively, swig will generate dispatch functions which will use %typecheck @@ -556,6 +565,7 @@ taking the integer argument.
Pointers to C/C++ objects no longer represented as character strings such as:_523d3f4_Circle_p, instead they are represented @@ -687,6 +697,7 @@ variable, or assigning NULL to a variable.
By default, SWIG represents structs and C++ classes using a PHP4 class. The PHP4 class is implemented entirely using the Zend C API so @@ -745,6 +756,7 @@ Member variables and methods are accessed using the -> operator.
The -noproxy option flattens the object structure and generates collections of named functions. The above example results @@ -808,7 +820,8 @@ the programmer can either reassign the variable or call unset($v)
-Class variables are not supported in PHP. Static member variables are @@ -847,7 +860,8 @@ Ko::threats(10); echo "There has now been " . Ko::threats() . " threats\n"; -
Class functions are supported in PHP using the @@ -870,6 +884,7 @@ Ko::threats();
To place PHP code in the generated "example.php" file one can use the code pragma. The code is inserted after loading the shared diff --git a/SWIG/Doc/Manual/Sections.html b/SWIG/Doc/Manual/Sections.html index 9d18c408c..dce9d6095 100644 --- a/SWIG/Doc/Manual/Sections.html +++ b/SWIG/Doc/Manual/Sections.html @@ -6,7 +6,7 @@