Ignore:
Timestamp:
Aug 23, 2005 12:45:05 PM (16 years ago)
Author:
dkearney
Message:

changed all functions with PyString_AsString calls to copy the contents
of the returned python object to newly allocated memory and return the
newly allocated memory. this leaves it up to the user to free all of
the returned items, while the interface function is still responsible
for taking care of python's memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cee/rappture_interface.h

    r47 r49  
    1313void**      rpChildren  (PyObject* lib, const char* path, const char* flavor);
    1414PyObject*   rpChildren_f  (PyObject* lib, const char* path, const char* flavor);
    15 const char* rpGet       (PyObject* lib, const char* path);
     15char* rpGet       (PyObject* lib, const char* path);
    1616void        rpPut       (PyObject* lib,
    1717                            const char* path,
Note: See TracChangeset for help on using the changeset viewer.