| 12 |
# include <Python.h> |
# include <Python.h> |
| 13 |
#endif |
#endif |
| 14 |
|
|
| 15 |
|
#include "instance.h" |
| 16 |
|
|
| 17 |
class Registry{ |
class Registry{ |
| 18 |
public: |
public: |
| 19 |
void setInteger(const char *key, int value); |
void setInteger(const char *key, int value); |
| 20 |
|
void setPointer(const char *key, void *value); |
| 21 |
|
Instanc *getInstance(const char *key); |
| 22 |
#ifdef ASCXX_USE_PYTHON |
#ifdef ASCXX_USE_PYTHON |
| 23 |
void setPyObject(const char *key, PyObject *obj); |
void setPyObject(const char *key, PyObject *obj); |
| 24 |
#endif |
#endif |