/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to src/common/random.vala

  • Committer: Gustav Hartvigsson
  • Date: 2020-06-07 18:48:24 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20200607184824-jf14f7a1b1di2i2q
* Initial code - far from done

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * The contects of this file is in the Public Domain.
3
 
 *
4
 
 * Created by Gustav Hartivgsson.
5
 
 */
6
 
[CCode (cname = "V", cprefix = "v_")]
7
 
namespace Utils {
 
1
namespace VQDR.Common {
8
2
  
9
3
  /**
10
4
   * At the moment this just wraps the GLib Rand things.
11
5
   * 
12
6
   * This also provides a static version of the methods.
13
7
   */
14
 
  [CCode (cname = "VRandom", cprefix = "v_random_")]
15
8
  public class Random {
16
9
    
17
10
    private static Random? _instance = null;