/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/utils/stack.vala

  • Committer: Gustav Hartvigsson
  • Date: 2022-06-01 12:30:01 UTC
  • mfrom: (52.1.3 int64)
  • Revision ID: gustav.hartvigsson@gmail.com-20220601123001-b5xs60wwym810hg1
Merged: lp:~gustav.hartvigsson/vqdr/int64

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
namespace Utils {
8
8
  [CCode (cname = "VStack", cprefix = "v_stack_")]
9
9
  public class Stack <T> {
10
 
    private static int step_size = 11;
 
10
    private static int32 step_size = 11;
11
11
    private T[] stack;
12
 
    private int pntr;
 
12
    private int32 pntr;
13
13
    public size_t elements {get {return pntr + 1;}}
14
14
    private size_t size;
15
15