diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2011-12-23 20:03:09 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2011-12-23 20:03:09 +0000 |
commit | 5ef2affe53dc78d0145f77e234ca0723d4655651 (patch) | |
tree | 01163ec59f3eae34cd84bb156396d9eec68db2c7 /Doc | |
parent | de5a78c7810ca16a8d97e19403e96dca3dea67e5 (diff) | |
download | swig-5ef2affe53dc78d0145f77e234ca0723d4655651.tar.gz |
Use public visibility for pointer constructor and getCPtr() when using nspace fixes and docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Java.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/Manual/Java.html b/Doc/Manual/Java.html index 9ae05ce7e..76e147be5 100644 --- a/Doc/Manual/Java.html +++ b/Doc/Manual/Java.html @@ -1934,6 +1934,11 @@ in an unnamed package. </pre> </div> +<p> +If the resulting use of the nspace feature and hence packages results in a proxy class in one package deriving or using a proxy class from another package, +you will need to open up the visibility for the pointer constructor and <tt>getCPtr</tt> method from the default 'protected' to 'public' with the <tt>SWIG_JAVABODY_PROXY</tt> macro. See <a href="#Java_code_typemaps">Java code typemaps</a>. +</p> + <H3><a name="Java_templates"></a>24.3.14 C++ templates</H3> @@ -5585,7 +5590,7 @@ Again this is the same that is in "<tt>java.swg</tt>", barring the method modifi </p> <p> -When using <a href="Modules.html">multiple modules</a> it is common to invoke SWIG with a different <tt>-package</tt> +When using <a href="Modules.html">multiple modules</a> or the <a href="#Java_namespaces">nspace feature</a> it is common to invoke SWIG with a different <tt>-package</tt> command line option for each module. However, by default the generated code may not compile if generated classes in one package use generated classes in another package. |