I am creating a dynamic data dependency valgrind tool for class. I would like make use of the xarray and hashtable available in the includes. I have successfully used them but I am not sure on a couple of the details and was hoping that you could help;
1) The VG_(HT_construct) requires a parmeter of HChar*, what is the purpose of this value? Is it like a unique key? If I need to dynamically create hashtables what is a good way to assign this value? I assume that they can't all have the same value. 2) For VG_(malloc), I don't think I will be using the cc parameter, is it safe just to just use the same cc value everywhere (like "foo") Thanks, Dannie ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users