~ubuntu-branches/debian/sid/glib2.0/sid

« back to all changes in this revision

Viewing changes to glib/gprimes.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 * GLib at ftp://ftp.gtk.org/pub/gtk/.
25
25
 */
26
26
 
27
 
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
 
27
#ifndef __G_PRIMES_H__
 
28
#define __G_PRIMES_H__
 
29
 
 
30
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
28
31
#error "Only <glib.h> can be included directly."
29
32
#endif
30
33
 
31
 
#ifndef __G_PRIMES_H__
32
 
#define __G_PRIMES_H__
33
 
 
34
34
#include <glib/gtypes.h>
35
35
 
36
36
G_BEGIN_DECLS
44
44
 * next largest prime, or the highest it knows about which is about
45
45
 * MAXINT/4.
46
46
 */
 
47
GLIB_AVAILABLE_IN_ALL
47
48
guint      g_spaced_primes_closest (guint num) G_GNUC_CONST;
48
49
 
49
50
G_END_DECLS