itaps-parallel typedef structure in iMeshP.h
Jason Kraftcheck
kraftche at cae.wisc.edu
Tue Oct 21 13:13:38 CDT 2008
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
>
What do you mean by an "undefined" line?
>
> To make the definition be consistent within the whole group, I suggest the
> following change:
>
> #define ITAPS_DECLARE_HANDLE( NAME ) typedef void *NAME
>
Why is that change "consistent with the whole group"? How is the previous
definition not "consistent with the whole group"?
>
> Thus, the interior implementation can be hided from iMeshP users.
Okay, I think you are misunderstanding how this declaration works. See:
http://www-unix.mcs.anl.gov/web-mail-archive/lists/tstt-interface/2008/09/msg00000.html
> And we
> should also make it clear that the implementations do not have the right
> to change the iMeshP.h file.
>
I assume that you mean that there should be no implementation-specific code
in iMeshP.h. I think we've all assumed from the beginning that there
should be no implementation-specific code in any interface header file, as
that would break the whole interoperable interface thing.
- jason
More information about the itaps-parallel
mailing list