Fix comment typoes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2011-07-15 06:57:25 +00:00
commit 62a88f3613

View file

@ -762,7 +762,7 @@ public:
String *getName = Swig_name_wrapper(Swig_name_get(NSPACE_TODO, iname)); String *getName = Swig_name_wrapper(Swig_name_get(NSPACE_TODO, iname));
String *setName = 0; String *setName = 0;
// checking whether it can be set to or not appears to be a very error prone issue // checking whether it can be set to or not appears to be a very error prone issue
// I refered to the Language::variableWrapper() to find this out // I referred to the Language::variableWrapper() to find this out
bool assignable=is_assignable(n) ? true : false; bool assignable=is_assignable(n) ? true : false;
SwigType *type = Getattr(n, "type"); SwigType *type = Getattr(n, "type");
String *tm = Swig_typemap_lookup("globalin", n, iname, 0); String *tm = Swig_typemap_lookup("globalin", n, iname, 0);
@ -890,7 +890,7 @@ public:
real_classname = Getattr(n, "name"); real_classname = Getattr(n, "name");
mangled_classname = Swig_name_mangle(real_classname); mangled_classname = Swig_name_mangle(real_classname);
// not sure exactly how this workswhat this works, // not sure exactly how this works,
// but tcl has a static hashtable of all classes emitted and then only emits code for them once. // but tcl has a static hashtable of all classes emitted and then only emits code for them once.
// this fixes issues in test suites: template_default2 & template_specialization // this fixes issues in test suites: template_default2 & template_specialization
@ -952,7 +952,7 @@ public:
Delete(s_attr_tab); Delete(s_attr_tab);
// Handle inheritance // Handle inheritance
// note: with the idea of class hireachied spread over multiple modules // note: with the idea of class hierarchies spread over multiple modules
// cf test-suite: imports.i // cf test-suite: imports.i
// it is not possible to just add the pointers to the base classes to the code // it is not possible to just add the pointers to the base classes to the code
// (as sometimes these classes are not present) // (as sometimes these classes are not present)