hack-assembler/util.h

17 lines
251 B
C
Raw Normal View History

2020-11-18 17:53:23 -05:00
#ifndef UTIL_H
#define UTIL_H
2020-11-20 18:31:31 -05:00
#include <stdio.h>
2020-11-18 17:53:23 -05:00
char* heapstr(const char* str, int len);
int countplaces(int n);
2020-11-20 18:31:31 -05:00
typedef struct lnls {
char* content;
int truen;
struct lnls* next;
} LINELIST;
void printlns(LINELIST* lns, FILE* stream);
2020-11-18 17:53:23 -05:00
#endif