Apply small documentation fix - patch #2579863

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-03-20 23:40:39 +00:00
commit 65f79a952c
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@
static void free_Zoo(void* ptr) {
Zoo* zoo = (Zoo*) ptr;
/* Loop over each object and call SWIG_RemoveMapping */
/* Loop over each object and call SWIG_RubyRemoveTracking */
int count = zoo->get_num_animals();
for(int i = 0; i < count; ++i) {
@ -32,7 +32,7 @@
SWIG_RubyRemoveTracking(animal);
}
/* Now call SWIG_RemoveMapping for the zoo */
/* Now call SWIG_RubyRemoveTracking for the zoo */
SWIG_RubyRemoveTracking(ptr);
/* Now free the zoo which will free the animals it contains */