[C++-SIG] Re: CXX3 adding methods to new types
Marc POINOT
poinot at onera.fr
Thu Jul 22 08:44:34 CEST 1999
"Paul F. Dubois" wrote:
> Compare with demo file r.cxx; you seem to be doing everything the same.
> Say, did you remember to call your object init function from some module's
> init function?
>
>
Here's what I've cloned using example.cxx :
void initexample()
{
// experimental initialization stuff
init_EpyBlkMeshtype();
init_EpyGeoGridtype();
example = new ExtensionModule("example");
example->add("EpyBlkMesh",EpyBlkMesh_new,"EpyBlkMesh(im,jm,km,var,file)");
example->add("EpyGeoGrid",EpyGeoGrid_new,"EpyGeoGrid(EpyBlkMesh)");
Dict d = example->initialize();
}
Marcvs [alias Does it sounds?]
More information about the Cplusplus-sig
mailing list