gegl-random-private.h 1011 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/* This file is part of GEGL
 *
 * GEGL is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * GEGL is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
14
 * License along with GEGL; if not, see <https://www.gnu.org/licenses/>.
15 16 17 18 19 20 21
 *
 * Copyright 2012, 2013 Øyvind Kolås
 */

#ifndef __GEGL_RANDOM_PRIV_H__
#define __GEGL_RANDOM_PRIV_H__

22 23 24 25 26 27 28 29 30 31 32
#define RANDOM_DATA_SIZE (15101 * 3)

struct _GeglRandom
{
  guint16 prime0;
  guint16 prime1;
  guint16 prime2;
};

guint32*
gegl_random_get_data (void);
33 34

void
35
gegl_random_cleanup (void);
36 37

#endif /* __GEGL_RANDOM_PRIV_H__ */