itaps-parallel Re: typedef structure in iMeshP.h
Devine, Karen D
kddevin at sandia.gov
Tue Oct 21 13:12:10 CDT 2008
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.
Since many people are coding to the interface at the same time, it would
probably be good for the SVN repository to email us when people change the
iMeshP.h file. There is some way for SVN to send email when people commit
changes; our repositories at SNL are configured to send email. Can that SVN
feature be activated at RPI?
Karen
On 10/21/08 12:01 PM, "txie at scorec.rpi.edu" <txie at scorec.rpi.edu> wrote:
>
>
> (Sorry, I forgot to put the subject in last email, so I send it again. )
>
> Hi, Karen,
>
> In the latest version of iMeshP.h, there is one line still undefined:
>
> #define ITAPS_DECLARE_HANDLE( NAME ) typedef struct NAME##DummyStruct *NAME
>
>
> To make the definition be consistent within the whole group, I suggest the
> following change:
>
> #define ITAPS_DECLARE_HANDLE( NAME ) typedef void *NAME
>
>
> Thus, the interior implementation can be hided from iMeshP users. And we
> should also make it clear that the implementations do not have the right
> to change the iMeshP.h file.
>
> Please let me know if you find any problems. Thanks.
>
> Thanks,
>
> Ting
>
>
>
>
>
>
>
>
>
>
>
More information about the itaps-parallel
mailing list