[MOAB-dev] r2580 - MOAB/trunk/tools/iMesh

Tim Tautges tautges at mcs.anl.gov
Mon Jan 26 17:22:09 CST 2009


Where do we ever pass iBase_Instance in the current C-based interfaces? 
  I'd think that it wouldn't matter whether this was void* or a private 
struct*.

- tim

kraftche at mcs.anl.gov wrote:
> Author: kraftche
> Date: 2009-01-26 14:20:46 -0600 (Mon, 26 Jan 2009)
> New Revision: 2580
> 
> Modified:
>    MOAB/trunk/tools/iMesh/iBase.h
> Log:
> Leave iBase_Instance as void* so any interface type can be passed
> 
> Modified: MOAB/trunk/tools/iMesh/iBase.h
> ===================================================================
> --- MOAB/trunk/tools/iMesh/iBase.h	2009-01-26 20:20:19 UTC (rev 2579)
> +++ MOAB/trunk/tools/iMesh/iBase.h	2009-01-26 20:20:46 UTC (rev 2580)
> @@ -15,7 +15,7 @@
>       * TYPEDEF'S
>       *==========================================================
>       */
> -  typedef struct iBase_Instance_Private* iBase_Instance;
> +  typedef void* iBase_Instance;
>    typedef struct iBase_EntityHandle_Private* iBase_EntityHandle;
>    typedef struct iBase_EntitySetHandle_Private* iBase_EntitySetHandle;
>    typedef struct iBase_TagHandle_Private* iBase_TagHandle;
> 
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list