summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Middelschulte <leif.middelschulte@gmail.com>2012-08-20 19:08:54 +0000
committerLeif Middelschulte <leif.middelschulte@gmail.com>2012-08-20 19:08:54 +0000
commite4c486ae6f5eee68e8ba39b00be105c5c197acdd (patch)
tree4f788abedeaded97c4679edf1c904bb604eb79bc
parent4ca26c150efd268d5d71e66589170e76718fcaaa (diff)
downloadswig-gsoc2012-c.tar.gz
Add docs about known shortcomings of C++ wrapping.gsoc2012-c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Doc/Manual/C.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Manual/C.html b/Doc/Manual/C.html
index 07ae63de5..c381cb3e1 100644
--- a/Doc/Manual/C.html
+++ b/Doc/Manual/C.html
@@ -60,6 +60,13 @@ With wrapper interfaces generated by SWIG, it is easy to use the functionality o
Flattening C++ language constructs into a set of C-style functions obviously comes with many limitations and inconveniences. All data and functions become global. Manipulating objects requires explicit calls to special functions. We are losing the high level abstraction and have to work around it.
</p>
+<H3>Known C++ Shortcomings in Generated C API:</H3>
+<ul>
+ <li>Namespaced global functions are not namespaced</li>
+ <li>Enums with a context like class or namespace are broken</li>
+ <li>Global variables are not supported</li>
+ <li>Qualifiers are stripped</li>
+</ul>
<H2><a name="C_preliminaries"></a>36.2 Preliminaries</H2>