/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/libvqdr/value/variable_value_token.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-09-08 21:15:31 UTC
  • mfrom: (12.1.3 fastnumber)
  • Revision ID: gustav.hartvigsson@gmail.com-20210908211531-xyhqodfa2gmzxurl
* merge the FastNumber branch. this will make code reuse better.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
      // was null, this is not needed here as we don't allow null for that
20
20
      // value.
21
21
      try {
22
 
        result_value = instance.get_value (name);
 
22
        result_value.number = instance.get_value (name);
23
23
        result_string = "[" + name + ":" + result_value.to_string () + "]";
24
24
      } catch (GLib.Error? e) {
25
 
        result_value = result_min_value = result_max_value = 0;
 
25
        result_value.number = 0;
 
26
        result_min_value.number = 0;
 
27
        result_max_value.number = 0;
26
28
        result_string = "";
27
29
        
28
30
        GLib.Error? err = null;