/[ascend]/trunk/pygtk/registry.cpp
ViewVC logotype

Diff of /trunk/pygtk/registry.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 869 by johnpye, Wed Oct 4 14:03:46 2006 UTC revision 875 by johnpye, Sat Oct 7 06:26:34 2006 UTC
# Line 9  Registry::setInteger(const char *key, in Line 9  Registry::setInteger(const char *key, in
9      importhandler_setsharedpointer(key,(void *)val);      importhandler_setsharedpointer(key,(void *)val);
10  }  }
11    
12    void
13    Registry::setPointer(const char *key, void *val){
14        importhandler_setsharedpointer(key,val);
15    }
16    
17    Instanc *
18    Registry::getInstance(const char *key){
19        return new Instanc((struct Instance*)importhandler_getsharedpointer(key));
20    }
21    
22  #ifdef ASCXX_USE_PYTHON  #ifdef ASCXX_USE_PYTHON
23    
24  void  void

Legend:
Removed from v.869  
changed lines
  Added in v.875

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22