curvedraw
diff src/curvefile.h @ 6:6e980fddbf3b
curve export
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Dec 2015 07:07:19 +0200 |
parents | |
children | 95fada20c638 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/curvefile.h Fri Dec 18 07:07:19 2015 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +#ifndef CURVEFILE_H_ 1.5 +#define CURVEFILE_H_ 1.6 + 1.7 +#include <stdio.h> 1.8 +#include "curve.h" 1.9 + 1.10 +bool save_curves(const char *fname, const Curve * const *curves, int count); 1.11 +bool save_curves(FILE *fp, const Curve * const *curves, int count); 1.12 + 1.13 +Curve **load_curves(const char *fname, int *countret); 1.14 +Curve **load_curves(FILE *fp, int *countret); 1.15 + 1.16 +#endif // CURVEFILE_H_ 1.17 \ No newline at end of file