Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 280744 | Differences between
and this patch

Collapse All | Expand All

(-)old/ruby/nepomuk/nepomukhandlers.cpp (-1 / +1 lines)
Lines 46-52 Link Here
46
        // Convert the ruby hash to an array of key/value arrays
46
        // Convert the ruby hash to an array of key/value arrays
47
        VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
47
        VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
48
48
49
        for (long i = 0; i < RARRAY(temp)->len; i++) {
49
        for (long i = 0; i < RARRAY_LEN(temp); i++) {
50
            VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
50
            VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
51
            VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
51
            VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
52
            
52
            

Return to bug 280744