Correctly mangle the html section names to prevent name clashes in the pdf document
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b6b99bb148
commit
9006dc90ce
17 changed files with 55 additions and 55 deletions
|
|
@ -310,7 +310,7 @@ The <tt>directorinattributes</tt> and <tt>directoroutattributes</tt> typemap att
|
|||
<li>
|
||||
<p>
|
||||
Support for attaching C# attributes to wrapped methods, variables and enum values.
|
||||
This is done using the <tt>%csattributes</tt> feature, see <a href="Customization.html#features">%feature directives</a>.
|
||||
This is done using the <tt>%csattributes</tt> feature, see <a href="Customization.html#Customization_features">%feature directives</a>.
|
||||
Note that C# attributes are attached to proxy classes and enums using the <tt>csattributes</tt> typemap.
|
||||
For example, imagine we have a custom attribute class, <tt>ThreadSafeAttribute</tt>, for labelling thread safety.
|
||||
The following SWIG code shows how to attach this C# attribute to some methods and the class declaration itself:
|
||||
|
|
@ -729,7 +729,7 @@ It is possible to throw a C# Exception from C/C++ code.
|
|||
SWIG already provides the framework for throwing C# exceptions if it is able to detect that a C++ exception could be thrown.
|
||||
Automatically detecting that a C++ exception could be thrown is only possible when a C++ exception specification is used,
|
||||
see <a href="SWIGPlus.html#SWIGPlus_exception_specifications">Exception specifications</a>.
|
||||
The <a href="Customization.html#exception">Exception handling with %exception</a> section details the <tt>%exception</tt> feature.
|
||||
The <a href="Customization.html#Customization_exception">Exception handling with %exception</a> section details the <tt>%exception</tt> feature.
|
||||
Customised code for handling exceptions with or without a C++ exception specification is possible and the details follow.
|
||||
However anyone wishing to do this should be familiar with the contents of the sections referred to above.
|
||||
</p>
|
||||
|
|
@ -1005,7 +1005,7 @@ Actually it will issue this warning for any function beginning with <tt>SWIG_CSh
|
|||
|
||||
<p>
|
||||
Let's consider a similar, but more common example that throws a C++ exception from within a wrapped function.
|
||||
We can use <tt>%exception</tt> as mentioned in <a href="Customization.html#exception">Exception handling with %exception</a>.
|
||||
We can use <tt>%exception</tt> as mentioned in <a href="Customization.html#Customization_exception">Exception handling with %exception</a>.
|
||||
</p>
|
||||
|
||||
<div class="code">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue