/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/context.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-11-10 20:42:21 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20211110204221-15t3jiam2oh4cc36
Changed over the Variabel class to use FastNumers

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
       }
49
49
    }
50
50
    
51
 
    public int get_value (string name) throws ArgError {
 
51
    public FastNumber get_value (string name) throws ArgError {
52
52
      throw_name (name);
53
53
      return values.@get (name.down ()).current_val;
54
54
    }
55
55
    
56
 
    public int get_min_value (string name) throws ArgError {
 
56
    public FastNumber get_min_value (string name) throws ArgError {
57
57
      throw_name (name);
58
58
      return values.@get (name.down ()).min_val;
59
59
    }
60
60
    
61
 
    public int get_max_value (string name) throws ArgError {
 
61
    public FastNumber get_max_value (string name) throws ArgError {
62
62
      throw_name (name);
63
63
      return values.@get (name.down ()).max_val;
64
64
    }
65
65
 
66
 
    public int get_current_value (string name) throws ArgError {
 
66
    public FastNumber get_current_value (string name) throws ArgError {
67
67
      throw_name (name);
68
68
      return values.@get (name.down ()).current_val;
69
69
    }