summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c76bb7a)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7192
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
void rb_application_handler_on_start_document(void) {
void rb_application_handler_on_start_document(void) {
- args = rb_ary_new(); // Max lenght = 16 ?!
- prop = rb_ary_new();
}
void rb_application_handler_on_end_document(void) {
}
void rb_application_handler_on_end_document(void) {
- // FIXME: probably leaking
- //application_handler_class = Qnil;
- args = Qnil;
- prop = Qnil;
- function_name = Qnil;
- host_name = Qnil;
+
+ //application_handler_class = Qnil; FIXME: probably leaking
host_name = rb_str_new2(A_surfxml_process_host);
function_name = rb_str_new2(A_surfxml_process_function);
host_name = rb_str_new2(A_surfxml_process_host);
function_name = rb_str_new2(A_surfxml_process_function);
+
+ args = rb_ary_new(); // Max lenght = 16 ?!
+ prop = rb_ary_new();
+
}
void rb_application_handler_on_process_arg(void) {
}
void rb_application_handler_on_process_arg(void) {
}
void rb_application_handler_on_property(void) {
}
void rb_application_handler_on_property(void) {
- // FIXME: properties are never added to the ruby process
VALUE id = rb_str_new2(A_surfxml_prop_id);
VALUE val = rb_str_new2(A_surfxml_prop_value);
int i_id = NUM2INT (id);
VALUE id = rb_str_new2(A_surfxml_prop_id);
VALUE val = rb_str_new2(A_surfxml_prop_value);
int i_id = NUM2INT (id);