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:
parent
2c71ee47fb
commit
65f79a952c
2 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue