Skip to content

Commit

Permalink
Redid commit 9e7f9f2, getting it right this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-easterbrook committed Jun 9, 2014
1 parent 36389a4 commit 533eb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/lib/gphoto2_port_info_list.i
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
$result = PyList_New(1);
PyList_SetItem($result, 0, temp);
}
PyList_Append($result, SWIG_NewPointerObj($1, SWIGTYPE_p__GPPortInfoList, 0));
PyList_Append($result, SWIG_NewPointerObj(*$1, SWIGTYPE_p__GPPortInfoList, 0));
}

// gp_port_info_new() returns a pointer in an output parameter
Expand All @@ -51,7 +51,7 @@
$result = PyList_New(1);
PyList_SetItem($result, 0, temp);
}
PyList_Append($result, SWIG_NewPointerObj(*$1, SWIGTYPE_p__GPPortInfo, 0));
PyList_Append($result, SWIG_NewPointerObj($1, SWIGTYPE_p__GPPortInfo, 0));
}

// several getter functions return string pointers in output params
Expand Down

0 comments on commit 533eb33

Please sign in to comment.