itaps-parallel Re: typedef structure in iMeshP.h
Onkar Sahni
osahni at scorec.rpi.edu
Tue Oct 21 13:31:54 CDT 2008
As Ting mentioned we will check on email update for changes to svn. We do
exercise this with repositories of our tools/software (probably you guys
know it but in case... "View Log" link provides log on changes).
On handle issue we had discussions as can be seen in the link but there
was no discussion on how its going to be incorporated in header files.
Moreover, I do not know if ITAPS_DECLARE_HANDLE goes in iMeshP.h or
iBase.h or other. If we want to have it this way (ITAPS_DECLARE_HANDLE)
then I think it doesn't goes in iMeshP.h.
- Onkar
> Devine, Karen D wrote:
>> Hi, Ting.
>>
>> I admit that I do not know what the ITAPS_DECLARE_HANDLE means or by
>> whom it
>> was added to the interface. I understood that handles were always
>> void*, so
>> your suggestion seems correct.
>>
>
> I added it. The header did not contain any definitions of
> iMeshP_PartitionHandle, etc., so I added them the way I thought that they
> should be defined. As discussed in this thread:
> http://www-unix.mcs.anl.gov/web-mail-archive/lists/tstt-interface/2008/09/msg00005.html
> defining them in this fashion is better than using 'void*' because the
> different handle types are distinct (e.g. the compiler will complain if an
> application tries to pass an iMeshP_PartHandle where an
> iMeshP_PartitionHandle is expected.)
>
> - jason
>
>
More information about the itaps-parallel
mailing list