Add another example for clarification in SwigType_templateprefix()

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-01-28 07:22:42 +00:00
commit 83576031c3

View file

@ -854,9 +854,8 @@ SwigType *SwigType_add_template(SwigType *t, ParmList *parms) {
* Returns the prefix before the first template definition.
* For example:
*
* Foo<(p.int)>::bar
*
* returns "Foo"
* Foo<(p.int)>::bar => Foo
* r.q(const).Foo<(p.int)>::bar => r.q(const).Foo
* ----------------------------------------------------------------------------- */
String *SwigType_templateprefix(const SwigType *t) {