[IronPython] Typing problem with vendor library?

jeff sacksteder jsacksteder at gmail.com
Sat Oct 14 06:42:42 CEST 2006

On 10/13/06, Martin Maly <Martin.Maly at microsoft.com> wrote:
>  Int16 is a type: System.Int16 and I am calling its constructor, passing
> "output" as the value:  System.Int16(output), just like in Python you can
> call:  int(3.5), this is very similar, except constructing .NET
> System.Int16 type.

An excellent description. However-

"TypeError: no overloads of AIn could match (int, Range, Int16)
  AIn(int, Range, Reference[Int16])
  AIn(int, Range, Reference[UInt16])"

I think I should be using System.Type.MakeByRefType, but I'm not quite
getting it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061014/c88a86d6/attachment.html>

More information about the Ironpython-users mailing list