[~] updated : loadArray returns python list, not dict

git-svn-id: https://pykd.svn.codeplex.com/svn@61345 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-02-11 07:48:53 +00:00
parent 1604ec506e
commit 5e4ad89747

View File

@ -27,14 +27,15 @@ loadArray( ULONG64 address, ULONG number, BOOLEAN phyAddr = FALSE )
if ( loadMemory( address, buffer, number*sizeof(T), phyAddr ) )
{
boost::python::dict arr;
boost::python::list lst;
for ( ULONG i = 0; i < number; ++i )
arr[i] = buffer[i];
lst.append( buffer[i] );
//arr[i] = buffer[i];
delete[] buffer;
return arr;
return lst;
}
delete[] buffer;