[MOAB-dev] Using void** in iMesh interface

Jed Brown jed at 59A2.org
Wed Mar 16 18:29:20 CDT 2011


On Wed, Mar 16, 2011 at 23:43, Jed Brown <jed at 59a2.org> wrote:

> I see that char** for opaque data has changed to void**. This choice
> essentially always requires an explicit cast in user code (because they have
> something real behind the pointer).
>
> There is a precedent for using plain void* in cases like this.
>

By the way, I raised this concern almost a year ago:

Jed> "The MPI standard also uses void* in place of void** to avoid requiring
user casts"

http://lists.mcs.anl.gov/pipermail/moab-dev/2010/002449.html

and thought the conclusion later in that thread was to use void* instead of
char** or void**:

Tim> "Aha, ok.  Then I'd agree that these should be void*."

http://lists.mcs.anl.gov/pipermail/moab-dev/2010/002457.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20110317/24a4af70/attachment.htm>


More information about the moab-dev mailing list