Parent Directory
|
Revision Log
'hello world' works from external python module, correctly hooks into 'browser' object.
1 | #include "registry.h" |
2 | |
3 | extern "C"{ |
4 | #include <compiler/importhandler.h> |
5 | } |
6 | |
7 | void |
8 | Registry::setInteger(const char *key, int val){ |
9 | importhandler_setsharedpointer(key,(void *)val); |
10 | } |
11 | |
12 | #ifdef ASCXX_USE_PYTHON |
13 | |
14 | void |
15 | Registry::setPyObject(const char *key, PyObject *val){ |
16 | importhandler_setsharedpointer(key,(void *)val); |
17 | } |
18 | |
19 | #endif |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |