package org.libvirt.jna;

import com.sun.jna.Structure;

/**
 * JNA mapping for the virSchedParameterValue structure
 */
public class virSchedParameterValue extends Structure {
    public int i; /* data for integer case */
    public int ui; /* data for unsigned integer case */
    public long l; /* data for long long integer case */
    public long ul; /* data for unsigned long long integer case */
    public double d; /* data for double case */
    public byte b; /* data for char case */
}

@@ -38,25 +38,21 @@
 sun.jna.
-Structure
+Union
 ;%0A%0A/**%0A 
@@ -158,17 +158,13 @@
 nds 
-Structure
+Union
  %7B%0A 

Make the parameters a Union based on the comments from Frederic Ddangtran