/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:09:53 UTC
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: gustav.hartvigsson@gmail.com-20220601120953-3t2j3v68izknnmyw
int -> int32

Finished the last of the convertion to fixed sized integer values.
(where applicable).

Show diffs side-by-side

added added

removed removed

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