about summary refs log tree commit diff stats
path: root/state.c
blob: 2c504e8b416a7c090377004f5bc3fa35dc21473b (plain) (blame)
1
2
3
4
5
6
#include "state.h"

void push(state *s, double d) {
  s->stack.val[s->stack.count+1] = d;
  s->stack.count += 1;
}