[MOAB-dev] r4509 - MOAB/trunk/itaps/igeom

Tim Tautges tautges at mcs.anl.gov
Thu Feb 17 10:23:10 CST 2011


I suspect iGeom will change this way too.

- tim

On 02/17/2011 09:52 AM, iulian at mcs.anl.gov wrote:
> Author: iulian
> Date: 2011-02-17 09:52:41 -0600 (Thu, 17 Feb 2011)
> New Revision: 4509
>
> Modified:
>     MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
> Log:
> convert from (char**) to (void**)
> Will iGeom interface change the same way?
>
>
> Modified: MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
> ===================================================================
> --- MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp	2011-02-16 22:38:33 UTC (rev 4508)
> +++ MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp	2011-02-17 15:52:41 UTC (rev 4509)
> @@ -1257,7 +1257,7 @@
>      if (_smooth)
>      {
>         // correct the intersection point and the distance for smooth surfaces
> -      for (i=0; i<sets.size(); i++)
> +      for (unsigned int i=0; i<sets.size(); i++)
>         {
>            //EntityHandle geoSet = MBH_cast(sets[i]);
>            SmoothFaceEval* sFace = _faces[sets[i]];
> @@ -2237,7 +2237,7 @@
>         iBase_EntitySetHandle entity_set_handle, iBase_TagHandle tag_handle,
>         char** tag_value, int* tag_value_allocated, int* tag_value_size, int *err) {
>      iMesh_getEntSetData(IMESH_INSTANCE(instance), entity_set_handle, tag_handle,
> -         tag_value, tag_value_allocated, tag_value_size, err);
> +         (void**)tag_value, tag_value_allocated, tag_value_size, err);
>      ERRORR("Failure to get arbitrary data from entity set.");
>   }
>
> @@ -2286,7 +2286,7 @@
>         iBase_TagHandle tag_handle, char** tag_values, int* tag_values_allocated,
>         int* tag_values_size, int *err) {
>      iMesh_getArrData(IMESH_INSTANCE(instance), entity_handles,
> -         entity_handles_size, tag_handle, tag_values, tag_values_allocated,
> +         entity_handles_size, tag_handle, (void**)tag_values, tag_values_allocated,
>            tag_values_size, err);
>      ERRORR("Failure to get tag values of arbitrary type on an array of entities.");
>   }
> @@ -2369,7 +2369,7 @@
>         iBase_TagHandle tag_handle, char** tag_value, int *tag_value_allocated,
>         int *tag_value_size, int *err) {
>      iMesh_getData(IMESH_INSTANCE(instance), entity_handle, tag_handle,
> -         tag_value, tag_value_allocated, tag_value_size, err);
> +         (void**)tag_value, tag_value_allocated, tag_value_size, err);
>      ERRORR("Failure to get tag values of an entity.");
>   }
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
================================================================
"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