clarify nested namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dcd38c5f02
commit
5bc3f4b940
1 changed files with 8 additions and 0 deletions
|
|
@ -77,6 +77,14 @@ The <tt>-package</tt> command line option does not exist.
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
The <tt>-namespace <name></tt> commandline option will generate all code into the namespace specified by <tt><name></tt>.
|
The <tt>-namespace <name></tt> commandline option will generate all code into the namespace specified by <tt><name></tt>.
|
||||||
|
C# supports nested namespaces that are not lexically nested, so nested namespaces will of course also work. For example:
|
||||||
|
<tt>-namespace com.bloggs.widget</tt>, will generate code into C# namespaces:
|
||||||
|
|
||||||
|
<div class="code"><pre>
|
||||||
|
namespace com.bloggs.widget {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
</pre></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue