net.sourceforge.lept4j.L_Rbtree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lept4j Show documentation
Show all versions of lept4j Show documentation
# Lept4J
## Description:
A Java JNA wrapper for Leptonica Image Processing library.
Lept4J is released and distributed under the Apache License, v2.0.
package net.sourceforge.lept4j;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : rbtree.h:15
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java or JNA.
*/
public class L_Rbtree extends Structure {
/** C type : L_Rbtree_Node* */
public net.sourceforge.lept4j.L_Rbtree_Node.ByReference root;
/** C type : l_int32 */
public int keytype;
public L_Rbtree() {
super();
}
protected List > getFieldOrder() {
return Arrays.asList("root", "keytype");
}
/**
* @param root C type : L_Rbtree_Node*
* @param keytype C type : l_int32
*/
public L_Rbtree(net.sourceforge.lept4j.L_Rbtree_Node.ByReference root, int keytype) {
super();
this.root = root;
this.keytype = keytype;
}
public L_Rbtree(Pointer peer) {
super(peer);
read();
}
public static class ByReference extends L_Rbtree implements Structure.ByReference {
};
public static class ByValue extends L_Rbtree implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy