/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to src/common/utils.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-09-09 20:40:16 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210909204016-u577zci01ir6izby
* Added DiceOperatiorToken
* Removed warning about unused to_string () method
* Small spelling errors
* Cleaned up the Token.priority stuff.
* Added missing mandetory_num_child to ConstantValueToken.
* Made the ValueToken factory actually produce something.
* Reordered the if/else if chain in AddOperationToken.evaluate_self ()
  so it can actually work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        case (GLib.Type.OBJECT):
97
97
          str_builder.append_printf ("%llX", (((long)((pointer)prop_val.dup_object ()))));
98
98
        break;
 
99
        #if 0
99
100
        /* /!\ NOTE: Invalid case /!\
100
101
         * A ParamSpec can't "contain" a ParamSpec.
 
102
         */
101
103
        case (GLib.Type.PARAM):
102
104
          var spsc = prop_val.get_param ();
103
105
          if (spsc == null) {
109
111
                       .append (spsc.value_type.name ());
110
112
          }
111
113
        break;
112
 
        */
 
114
        #endif
113
115
        case (GLib.Type.POINTER):
114
116
          str_builder.append ("(")
115
117
                     .append_printf ("%llX", (((long)prop_val.get_pointer ())));