Fawzi Mohamed, le Fri 02 Apr 2010 17:34:20 +0200, a écrit : > would be fine with me, planning to add al lot of flags? because there > is still lot of space to grow (and one can later switch to 64 bit... :)
Just switching to 64bits would break the ABI. It's better to just use chars and be done with the ABI :) > >>HWLOC_OBJ_SYSTEM seems on the way out > > > >It isn't :) > > > >>I treated it just as a MACHINE anyway, > > > >What do you mean by this? They really are not supposed to be the > >same, > >as Brice explained. > > I understand, but in the end I am just interested in building a > structure to have a sequence where you first look at neighbors, and > then further and further away, so I use both just as a way got keep > together things that have the same "distance". Mmm, I don't understand. Why would you need to have a look at the type? Can't you test the parent pointer to know whether you got at the top of the hierarchy? Samuel