/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/constant_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:
5
5
      this.priority = Prio.VALUE;
6
6
    }
7
7
    
8
 
    public ConstantValueToken (long value, int position) {
 
8
    public ConstantValueToken (long val, int position) {
9
9
      base (position);
10
 
      this.result_value = value;
11
 
      this.result_min_value = value;
12
 
      this.result_max_value = value;
 
10
      this.result_value.number = val;
 
11
      this.result_min_value.number = val;
 
12
      this.result_max_value.number = val;
 
13
      
 
14
      print("bobobo: %li \n", result_value.number);
13
15
    }
14
16
    
15
17
    protected override void evaluate_self (Context instance) throws GLib.Error {