Mark Hammond wrote:
if ( PySequence_Check(obuse) )
{
V_ARRAY(var) = NULL; // not a valid, existing array.
ok = PyCom_SAFEARRAYFromPyObject(obuse, V_ARRAY(var), rawVT);
V_VT(var) = VT_ARRAY | rawVT;
}
else
{
PythonOleArgHelper helper;
I must admit I don't know how to fully test my implementation. I also
have at least one bug related to strings, which the test below will
demonstrate. I am soliciting any help I can get to solve the general
case. Or, failing that, I'm wondering if a less-general patch would be
accepted