Jonathan Jacobs wrote:
> I did some digging in the source code, it looks like the problem is the 
> indexer for BuiltinFunctionOverloadMapper. The problem appears to be: from 
> Python I am unable to specify whether an argument is byref or not and so the 
> comparison fails when trying to match signatures.

I did a little less digging and a little more thinking:

 >>> Direct3D.Mesh.FromFile.__overloads__[(str, Direct3D.MeshFlags, 
Direct3D.Device, 
clr.GetClrType(Direct3D.ExtendedMaterial).MakeArrayType().MakeByRefType())]
<built-in function FromFile>

Yay! Somewhat insane, but yay.

-- 
Jonathan

When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
                 -- Rinzai, ninth century Zen master
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to