|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.smardec.j2native.J2NativeContext
J2NativeContext
class is a platform dependent context. Class contains
machine specific information, such as length of int or double.
Method Summary | |
static int |
getAlignedArgumentLength(int argLen)
Calculate and returns aligned argument length. |
static byte |
getArgumentAlignment()
Returns alignment of argument. |
static int |
getBoolLength()
Returns length of boolean in bytes. |
static byte |
getByteLength()
Returns length of byte in bytes. |
static byte |
getDefaultCallingConvention()
Returns default calling convention for the native pat. |
static short |
getDefaultStructureAlignment()
Returns alignment of structure. |
static int |
getDoubleLength()
Returns length of double in bytes. |
static int |
getFloatLength()
Returns length of float in bytes. |
static int |
getIntLength()
Returns length of int in bytes. |
static int |
getLongDoubleLength()
Returns length of long double in bytes. |
static int |
getLongLength()
Returns length of long int in bytes. |
static int |
getPointerLength()
Returns length of pointer in bytes. |
static int |
getShortLength()
Returns length of short int in bytes. |
static byte |
getWideCharLength()
Returns length of wide char in bytes. |
static int |
strlen(long l)
Calls corresponding C function. |
static int |
wcslen(long l)
Calls corresponding C function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static byte getByteLength()
public static byte getWideCharLength()
public static int getBoolLength()
public static int getPointerLength()
public static int getShortLength()
public static int getIntLength()
public static int getLongLength()
public static int getFloatLength()
public static int getDoubleLength()
public static int getLongDoubleLength()
public static byte getArgumentAlignment()
public static short getDefaultStructureAlignment()
public static byte getDefaultCallingConvention()
Function.CDECL_CALLING_CONVENTION
,
Function.STDCALL_CALLING_CONVENTION
,
Function.PASCAL_CALLING_CONVENTION
public static int getAlignedArgumentLength(int argLen)
public static int strlen(long l)
public static int wcslen(long l)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |