Re: CXX3 adding methods to new types
July 22, 1999
6:44 a.m.
"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?]
9880
Age (days ago)
9880
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marc POINOT