Package | Description |
---|---|
org.jruby.ext.ffi | |
org.jruby.ext.ffi.jffi |
Modifier and Type | Class and Description |
---|---|
class |
CallbackInfo
Defines a C callback's parameters and return type.
|
class |
MappedType
A type which represents a conversion to/from a native type.
|
class |
StructByValue |
class |
StructLayout
Defines the memory layout for a native structure.
|
static class |
Type.Array |
static class |
Type.Builtin |
Modifier and Type | Field and Description |
---|---|
protected Type[] |
CallbackInfo.parameterTypes |
protected Type |
CallbackInfo.returnType |
Modifier and Type | Method and Description |
---|---|
Type |
StructLayout.Field.ffiType() |
Type |
TypeResolver.findType(Ruby runtime,
IRubyObject name) |
Type |
TypeResolver.findType(Ruby runtime,
IRubyObject name,
IRubyObject typeMap) |
static Type |
Util.findType(ThreadContext context,
IRubyObject name) |
static Type |
Util.findType(ThreadContext context,
IRubyObject name,
IRubyObject typeMap) |
Type |
Type.Array.getComponentType() |
Type[] |
CallbackInfo.getParameterTypes()
Gets the ruby parameter types of the callback
|
Type |
MappedType.getRealType() |
Type |
CallbackInfo.getReturnType()
Gets the native return type the callback should return
|
Type |
StructLayout.Member.type() |
Constructor and Description |
---|
Array(Ruby runtime,
RubyClass klass,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
Array(Ruby runtime,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
CallbackInfo(Ruby runtime,
RubyClass klazz,
Type returnType,
Type[] paramTypes,
boolean stdcall)
Creates a new CallbackInfo instance.
|
CallbackInfo(Ruby runtime,
RubyClass klazz,
Type returnType,
Type[] paramTypes,
boolean stdcall)
Creates a new CallbackInfo instance.
|
Modifier and Type | Method and Description |
---|---|
static DynamicMethod |
MethodFactory.createDynamicMethod(Ruby runtime,
RubyModule module,
com.kenai.jffi.Function function,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean ignoreErrno) |
static DynamicMethod |
MethodFactory.createDynamicMethod(Ruby runtime,
RubyModule module,
com.kenai.jffi.Function function,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean ignoreErrno) |
Copyright © 2001–2015 JRuby. All rights reserved.