public class Sarray
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
Sarray.ByReference |
static class |
Sarray.ByValue |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.ptr.PointerByReference |
array
string array
C type : char** |
int |
n
number of strings allocated
C type : l_int32 |
int |
nalloc
size of allocated ptr array
C type : l_int32 |
int |
refcount
reference count (1 if no clones)
C type : l_int32 |
| Constructor and Description |
|---|
Sarray() |
Sarray(int nalloc,
int n,
int refcount,
com.sun.jna.ptr.PointerByReference array) |
Sarray(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic int nalloc
public int n
public int refcount
public com.sun.jna.ptr.PointerByReference array
public Sarray()
public Sarray(int nalloc,
int n,
int refcount,
com.sun.jna.ptr.PointerByReference array)
nalloc - size of allocated ptr arrayn - number of strings allocatedrefcount - reference count (1 if no clones)array - string arraypublic Sarray(com.sun.jna.Pointer peer)