package org.gnode.nix;

import org.bytedeco.javacpp.Loader;
import org.bytedeco.javacpp.annotation.Namespace;
import org.bytedeco.javacpp.annotation.Platform;

@Platform(value = "linux",
        include = {"<nix/DataType.hpp>"},
        link = {"nix"})
@Namespace("nix")
public class DataType {

    static {
        Loader.load();
    }

    public static final int Bool = 0;
    public static final int Char = 1;
    public static final int Float = 2;
    public static final int Double = 3;
    public static final int Int8 = 4;
    public static final int Int16 = 5;
    public static final int Int32 = 6;
    public static final int Int64 = 7;
    public static final int UInt8 = 8;
    public static final int UInt16 = 9;
    public static final int UInt32 = 10;
    public static final int UInt64 = 11;
    public static final int String = 12;
    public static final int Date = 13;
    public static final int DateTime = 14;
    public static final int Opaque = 15;

    public static final int Nothing = -1;
}

@@ -21,321 +21,31 @@
 x;%0A%0A
-import org.bytedeco.javacpp.Loader;%0Aimport org.bytedeco.javacpp.annotation.Namespace;%0Aimport org.bytedeco.javacpp.annotation.Platform;%0A%0A@Platform(value = %22linux%22,%0A        include = %7B%22%3Cnix/DataType.hpp%3E%22%7D,%0A        link = %7B%22nix%22%7D)%0A@Namespace(%22nix%22)%0Apublic class DataType %7B%0A%0A    static %7B%0A        Loader.load();%0A    %7D
+public class DataType %7B
 %0A%0A  

remove bindings