| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -349,6 +349,18 @@ internal Binding Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, Meth | |||
| 349 | 349 | return null; | |
| 350 | 350 | } | |
| 351 | 351 | ||
| 352 | + /// <summary> | ||
| 353 | + /// Attempts to convert Python argument tuple into an array of managed objects, | ||
| 354 | + /// that can be passed to a method. | ||
| 355 | + /// </summary> | ||
| 356 | + /// <param name="pi">Information about expected parameters</param> | ||
| 357 | + /// <param name="paramsArray"><c>true</c>, if the last parameter is a params array.</param> | ||
| 358 | + /// <param name="args">A pointer to the Python argument tuple</param> | ||
| 359 | + /// <param name="pyArgCount">Number of arguments, passed by Python</param> | ||
| 360 | + /// <param name="defaultArgList">A list of default values for omitted parameters</param> | ||
| 361 | + /// <param name="needsResolution"><c>true</c>, if overloading resolution is required</param> | ||
| 362 | + /// <param name="outs">Returns number of output parameters</param> | ||
| 363 | + /// <returns>An array of .NET arguments, that can be passed to a method.</returns> | ||
| 352 | 364 | static object[] TryConvertArguments(ParameterInfo[] pi, bool paramsArray, | |
| 353 | 365 | IntPtr args, int pyArgCount, | |
| 354 | 366 | ArrayList defaultArgList, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments