Last change
on this file since 19 was
19,
checked in by dkearney, 16 years ago
|
initial submission of the Rappture Core components and language bindings
|
File size:
1.2 KB
|
Line | |
---|
1 | // #include <stdio.h> |
---|
2 | // #include <assert.h> |
---|
3 | // #include <python2.3/Python.h> // "/usr/include/python2.3/Python.h" // |
---|
4 | #include "python2.4/Python.h" // "/usr/include/python2.3/Python.h" // |
---|
5 | |
---|
6 | /* |
---|
7 | #ifdef _cplusplus |
---|
8 | extern "C" { |
---|
9 | #endif |
---|
10 | */ |
---|
11 | |
---|
12 | PyObject* importRappture (); |
---|
13 | PyObject* createRapptureObj (PyObject* rpObj, const char* path); |
---|
14 | |
---|
15 | void* rpElement (PyObject* lib, const char* path, const char* flavor); |
---|
16 | void** rpChildren (PyObject* lib, const char* path, const char* flavor); |
---|
17 | PyObject* rpChildren_f (PyObject* lib, const char* path, const char* flavor); |
---|
18 | const char* rpGet (PyObject* lib, const char* path); |
---|
19 | void rpPut (PyObject* lib, |
---|
20 | const char* path, |
---|
21 | const char* value, |
---|
22 | const char* id, |
---|
23 | int append ); |
---|
24 | void rpPutObj (PyObject* lib, |
---|
25 | const char* path, |
---|
26 | PyObject* value, |
---|
27 | const char* id, |
---|
28 | int append ); |
---|
29 | |
---|
30 | PyObject* rpRemove (PyObject* lib, const char* path); |
---|
31 | const char* rpXml (PyObject* lib); |
---|
32 | |
---|
33 | /* |
---|
34 | #ifdef _cplusplus |
---|
35 | } |
---|
36 | #endif |
---|
37 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.