mightymandel
v16
GPU-based Mandelbrot set explorer
ref_set.h
Go to the documentation of this file.
1
// mightymandel -- GPU-based Mandelbrot Set explorer
2
// Copyright (C) 2012,2013,2014 Claude Heiland-Allen
3
// License GPL3+ http://www.gnu.org/licenses/gpl.html
4
5
#ifndef REF_SET_H
6
#define REF_SET_H 1
7
13
#include <stdbool.h>
14
#include <mpfr.h>
15
21
struct
ref_set_node
{
22
struct
ref_set_node
*
next
;
23
mpfr_t
x
;
24
mpfr_t
y
;
25
};
26
32
struct
ref_set
{
33
struct
ref_set_node
*
set
;
34
};
35
36
struct
ref_set
*
ref_set_new
();
37
void
ref_set_delete
(
struct
ref_set
*s);
38
void
ref_set_insert
(
struct
ref_set
*s,
const
mpfr_t x,
const
mpfr_t y);
39
bool
ref_set_contains
(
const
struct
ref_set
*s,
const
mpfr_t x,
const
mpfr_t y);
40
41
#endif
src
ref_set.h
Generated on Mon Jan 19 2015 16:18:12 for mightymandel by
1.8.1.2