Last change
on this file since 66 was
66,
checked in by mmc, 19 years ago
|
Cleaned up the app-fermi example so that it works the same way
across all of the various languages.
Added rpResult() function for reporting results. All programs
should all this to save out the XML before they exit. Also added
the fortran version rp_result().
|
File size:
1.1 KB
|
Line | |
---|
1 | #include "python2.4/Python.h" |
---|
2 | |
---|
3 | /* |
---|
4 | #ifdef _cplusplus |
---|
5 | extern "C" { |
---|
6 | #endif |
---|
7 | */ |
---|
8 | |
---|
9 | PyObject* importRappture (); |
---|
10 | PyObject* createRapptureObj (PyObject* rpObj, const char* path); |
---|
11 | |
---|
12 | void* rpElement (PyObject* lib, const char* path, const char* flavor); |
---|
13 | void** rpChildren (PyObject* lib, const char* path, const char* flavor); |
---|
14 | PyObject* rpChildren_f (PyObject* lib, const char* path, const char* flavor); |
---|
15 | char* rpGet (PyObject* lib, const char* path); |
---|
16 | void rpPut (PyObject* lib, |
---|
17 | const char* path, |
---|
18 | const char* value, |
---|
19 | const char* id, |
---|
20 | int append ); |
---|
21 | void rpPutObj (PyObject* lib, |
---|
22 | const char* path, |
---|
23 | PyObject* value, |
---|
24 | const char* id, |
---|
25 | int append ); |
---|
26 | |
---|
27 | PyObject* rpRemove (PyObject* lib, const char* path); |
---|
28 | char* rpXml (PyObject* lib); |
---|
29 | |
---|
30 | void rpResult (PyObject* lib); |
---|
31 | |
---|
32 | /* |
---|
33 | #ifdef _cplusplus |
---|
34 | } |
---|
35 | #endif |
---|
36 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.