Changeset 808 for trunk/src


Ignore:
Timestamp:
Oct 29, 2007 1:16:24 PM (14 years ago)
Author:
dkearney
Message:

allow the user to create a new empty rappture library object in c++ and python bindings. this is useful when you want to create new xml files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpLibrary.cc

    r788 r808  
    100100    else {
    101101        // create a new xml (from an empty file)
     102        freeTree = 1;
     103        tree = scew_tree_create();
     104        root = scew_tree_add_root(tree, "run");
    102105    }
    103106}
Note: See TracChangeset for help on using the changeset viewer.