create/destroy name change proposal

James Porter jvporter at wisc.edu
Fri May 7 14:48:50 CDT 2010


Jason Kraftcheck wrote:
> How about iMesh_createInstance and iMesh_destroyInstance or
> iMesh_newInstance and iMesh_delInstance?

This is a bit of a narrow view, but in PyTAPS, I interpreted "iMesh_newMesh" as being the C analogue to:

namespace iMesh
{
    class Mesh { ... };
}

That is, "iMesh" is the name of the library itself, but it contains a "Mesh" class (likewise with iGeom and iRel). In the end, it doesn't especially matter to me which way we go in the C interface, but I'll probably keep it this way in the Python bindings (i.e. there's a module named "iMesh" in the package "itaps" that has a class named "Mesh").

- Jim


More information about the tstt-interface mailing list