diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-08-31 07:46:14 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-08-31 19:40:13 +0100 |
commit | ca9eebcb8dd38adb3fd6036932eb79d05b497dac (patch) | |
tree | 21a1828dc07ed66628906c6fcb516431ea3282e8 /Doc | |
parent | 2cfd77b1c05dce14c0f15a710e4f9f4f1ff42d13 (diff) | |
download | swig-ca9eebcb8dd38adb3fd6036932eb79d05b497dac.tar.gz |
Octave - SWIG now marshalls a C/C++ NULL pointer into the null matrix, []
SWIG has always marshalled the null matrix into a NULL pointer; this remains
and now we have consistency in representing a NULL pointer.
This is a pre-requisite for a pending commit to fully support std::unique_ptr.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Octave.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Manual/Octave.html b/Doc/Manual/Octave.html index 151957cff..de39a1d96 100644 --- a/Doc/Manual/Octave.html +++ b/Doc/Manual/Octave.html @@ -363,6 +363,10 @@ octave:2> f=swigexample.fopen("not there", "r"); error: value on right hand side of assignment is undefined error: evaluating assignment expression near line 2, column 2 </pre></div> +<p> +NULL C/C++ pointers are represented by the Octave null matrix, <tt>[]</tt>. +</p> + <H3><a name="Octave_nn13">30.3.6 Structures and C++ classes</a></H3> |