mightymandel
v16
GPU-based Mandelbrot set explorer
parse.h
Go to the documentation of this file.
1
// mightymandel -- GPU-based Mandelbrot Set explorer
2
// Copyright (C) 2012,2013,2014,2015 Claude Heiland-Allen
3
// License GPL3+ http://www.gnu.org/licenses/gpl.html
4
5
#ifndef PARSE_H
6
#define PARSE_H 1
7
34
#include <stdbool.h>
35
#include <mpfr.h>
36
49
typedef
bool
parser
(
const
char
*source,
int
length, mpfr_t cx, mpfr_t cy, mpfr_t cz);
50
57
bool
radius_is_valid
(
const
mpfr_t radius);
58
69
mpfr_prec_t
precision_for_radius
(
const
mpfr_t radius);
70
81
char
*
load_file
(
const
char
*
filename
,
int
*length);
82
96
char
*
parse_separator
(
char
**source,
int
separator);
97
115
char
*
parse_line
(
char
**source);
116
130
bool
parse
(
const
char
*source,
int
length, mpfr_t cx, mpfr_t cy, mpfr_t cz);
131
141
bool
load_parameter_file
(
const
char
*
filename
, mpfr_t cx, mpfr_t cy, mpfr_t cz);
142
143
#endif
src
parse.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2