Skip to content

Improve method binding #974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
add TODO
  • Loading branch information
koubaa committed Dec 1, 2019
commit 4b0a1ad1f28368f31b9da286bd8cc5da5417c1ca
1 change: 1 addition & 0 deletions src/runtime/converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ private static bool ToAction(IntPtr value, Type obType, out object result, bool
/// Convert a Python value to a correctly typed managed list instance.
/// The Python value must support the Python iterator protocol or and the
/// items in the sequence must be convertible to the target array type.
/// TODO - remove duplication with ToArray!
/// </summary>
private static bool ToList(IntPtr value, Type obType, out object result, bool setError) {
Type elementType = obType.GetGenericArguments()[0];
Expand Down