Import from neverball-1.3.1.tar.gz
[neverball-archive.git] / share / binary.h
blob0e13361980bab08f54b9dd85b54bfda95f8259c7
1 #ifndef BINARY_H
2 #define BINARY_H
4 #include <stdio.h>
5 #include <stdlib.h>
7 /*---------------------------------------------------------------------------*/
9 void put_float(FILE *, const float *);
10 void put_int (FILE *, const int *);
11 void put_short(FILE *, const short *);
12 void put_array(FILE *, const float *, size_t);
14 void get_float(FILE *, float *);
15 void get_int (FILE *, int *);
16 void get_short(FILE *, short *);
17 void get_array(FILE *, float *, size_t);
19 /*---------------------------------------------------------------------------*/
21 #endif