18 lines
370 B
C
18 lines
370 B
C
#ifndef _HELPER_H_
|
|
#define _HELPER_H_
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
|
|
void print_target_code(uint32_t *target_code);
|
|
|
|
// Returns how often an array contains the value val
|
|
unsigned int array_contains(int *array, unsigned int size, int val);
|
|
|
|
|
|
// Returns how many values of size type_size
|
|
unsigned int fsize(FILE *fp, size_t type_size);
|
|
|
|
void clean_in();
|
|
|
|
#endif
|