Package | Description |
---|---|
org.jruby.ext.ffi | |
org.jruby.ext.ffi.jffi |
Modifier and Type | Field and Description |
---|---|
protected NativeType |
Type.nativeType |
Modifier and Type | Method and Description |
---|---|
NativeType |
Type.getNativeType()
Gets the native type of this Type when passed as a parameter
|
static NativeType |
NativeType.valueOf(IRubyObject type) |
static NativeType |
NativeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NativeType[] |
NativeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
NoImplFactory.alignmentOf(NativeType type) |
abstract int |
Factory.alignmentOf(NativeType type) |
int |
NoImplFactory.sizeOf(NativeType type) |
abstract int |
Factory.sizeOf(NativeType type) |
Constructor and Description |
---|
Type(Ruby runtime,
RubyClass klass,
NativeType type)
Initializes a new Type instance.
|
Type(Ruby runtime,
RubyClass klass,
NativeType type,
int size,
int alignment)
Initializes a new Type instance.
|
Modifier and Type | Method and Description |
---|---|
NativeType |
JITSignature.getParameterType(int parameterIndex) |
NativeType |
JITSignature.getResultType() |
NativeType |
DataConverters.IntOrEnumConverter.nativeType() |
NativeType |
DataConverters.MappedDataConverter.nativeType() |
NativeType |
DataConverters.CallbackDataConverter.nativeType() |
NativeType |
DataConverters.ChainedDataConverter.nativeType() |
abstract NativeType |
NativeDataConverter.nativeType() |
Modifier and Type | Method and Description |
---|---|
int |
Factory.alignmentOf(NativeType type) |
int |
Factory.sizeOf(NativeType type) |
Constructor and Description |
---|
IntOrEnumConverter(NativeType nativeType,
IRubyObject enums) |
JITSignature(NativeType resultType,
NativeType[] parameterTypes,
boolean hasResultConverter,
boolean[] hasParameterConverter,
com.kenai.jffi.CallingConvention convention,
boolean ignoreError) |
JITSignature(NativeType resultType,
NativeType[] parameterTypes,
boolean hasResultConverter,
boolean[] hasParameterConverter,
com.kenai.jffi.CallingConvention convention,
boolean ignoreError) |
Copyright © 2001–2016 JRuby. All rights reserved.