Can you point out an example of vector parameter? That should serve my
purpose.
Thanks
Nilay
On Thu, 10 Mar 2011, nathan binkert wrote:
As I understand, we use Python objects to initialize C++ objects. Is it
possible to pass a pointer to an array (dynamic sized) from Python to C++?
What do you mean a pointer? We do have VectorParams that allow us to
pass an stl vector of any parameter type to a class. If you mean a
SimObject pointer, then just say VectorParam.SimObject instead of
Param.SimObject
Is that what you mean?
Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev