summaryrefslogtreecommitdiff
path: root/inc/mem.h
blob: 86bed3fb8030cd5befe1ed56819fe92af8c26b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __MEM_H__
#define __MEM_H__

#define MEM_SIZE 30000

struct mem_st {
    char arr[MEM_SIZE];
    int pos;
};

int mem_pos();
int mem_inc();
int mem_dec();
int mem_left();
int mem_right();
int mem_get();
int mem_set(char v);
void mem_printDebug();

#endif