/+junk/vala-bit-field

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/vala-bit-field

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: Gustav Hartvigsson
  • Date: 2020-11-03 17:19:50 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20201103171950-u9cjz5g22bcrvmyd
* Fixed type : campare->compare.
* Fixed type for function alias.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  uint16 t2 = BitField.get (t1 ,"foo", TestFields.C);
24
24
  print ("%i\n", t2);
25
25
  
 
26
 
 
27
  var my_var1 = BitField.FieldInfo.static_overlap (info[0], info[1]);
 
28
  
 
29
  var my_var2 = BitField.FieldInfo.static_compare (info[0], info[1]);
 
30
 
 
31
  stdout.printf ("%s\n", my_var1.to_string ());
 
32
  stdout.printf ("%s\n", my_var2.to_string ());
 
33
  
26
34
  BitField.deinit ();
27
35
  return 0;
28
36
}