html fixes

This commit is contained in:
William S Fulton 2024-10-04 22:20:43 +01:00
parent 3f8e63c41d
commit e6c9634c7d
1 changed files with 2 additions and 2 deletions

View File

@ -1940,7 +1940,7 @@ In order to use <tt>boost::shared_ptr</tt>, the <tt>boost_shared_ptr.i</tt> libr
<p>
You can only use one of these variants of shared_ptr in your interface file at a time
(also SWIG doesn't currently support using both <tt>%shared_ptr(T)</tt> and
<tt>%unique_ptr<T></tt> on the same type <tt>T</tt>).
<tt>%unique_ptr&lt;T&gt;</tt> on the same type <tt>T</tt>).
All three variants must be used in conjunction with the <tt>%shared_ptr(T)</tt> macro,
where <tt>T</tt> is the underlying pointer type equating to usage <tt>shared_ptr&lt;T&gt;</tt>.
The type <tt>T</tt> must be non-primitive.
@ -2178,7 +2178,7 @@ by copying and customising the typemaps in the appropriate <tt>std_unique_ptr.i<
<p>
Note that SWIG doesn't currently support using both <tt>%shared_ptr(T)</tt> and
<tt>%unique_ptr<T></tt> on the same type <tt>T</tt>.
<tt>%unique_ptr&lt;T&gt;</tt> on the same type <tt>T</tt>.
</p>
<H4><a name="Library_std_unique_ptr_by_value">12.5.6.1 unique_ptr passed by value</a></H4>