All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.lept4j.L_Ptra Maven / Gradle / Ivy

package net.sourceforge.lept4j;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.PointerByReference;
import java.util.Arrays;
import java.util.List;
/**
 * native declaration : ptra.h:5
* 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_Ptra extends Structure { /** * size of allocated ptr array
* C type : l_int32 */ public int nalloc; /** * greatest valid index
* C type : l_int32 */ public int imax; /** * actual number of stored elements
* C type : l_int32 */ public int nactual; /** * ptr array
* C type : void** */ public PointerByReference array; public L_Ptra() { super(); } protected List getFieldOrder() { return Arrays.asList("nalloc", "imax", "nactual", "array"); } /** * @param nalloc size of allocated ptr array
* C type : l_int32
* @param imax greatest valid index
* C type : l_int32
* @param nactual actual number of stored elements
* C type : l_int32
* @param array ptr array
* C type : void** */ public L_Ptra(int nalloc, int imax, int nactual, PointerByReference array) { super(); this.nalloc = nalloc; this.imax = imax; this.nactual = nactual; this.array = array; } public L_Ptra(Pointer peer) { super(peer); read(); } public static class ByReference extends L_Ptra implements Structure.ByReference { }; public static class ByValue extends L_Ptra implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy