/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/function/abstract_pool_token.vala

  • Committer: Gustav Hartvigsson
  • Date: 2024-12-21 23:51:45 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20241221235145-4metak6z6u6vf6b0
[General] Major refactoring. Utils -> Vee nenaming.
Todo: Split libvee into a different library??

Also: Fixed spelling mistakes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
    pool_size = get_pool_size (instance);
23
23
    if (pool_size > MAX_TOKEN_ITERATIONS) {
24
 
        throw new Utils.ParamError.OUT_OF_BOUNDS
 
24
        throw new ParamError.OUT_OF_BOUNDS
25
25
          (@"$(this.get_type ().name ())" +
26
26
           " Pool index: $(get_pool_size (instance))");
27
27
    }
70
70
        
71
71
        total_roll_number++;
72
72
        if (total_roll_number > MAX_TOKEN_ITERATIONS) {
73
 
          throw new Utils.LoopError.TO_LONG 
 
73
          throw new LoopError.TO_LONG 
74
74
            (@"$(get_function_name (this.get_type ())): Loop took more than $MAX_TOKEN_ITERATIONS to complete.");
75
75
        }
76
76
        is_roll_again = true;