Package org.jruby.ext.ffi.jffi
package org.jruby.ext.ffi.jffi
-
ClassDescriptionHolder for a group of memory allocations.Represents a single native memory allocationInvokes a native function using InvocationBuffer methods.Manages Callback instances for the low level FFI backend.Holder for the single instance of CallbackManagerAn implementation of MemoryIO that throws exceptions on any attempt to read/write the callback memory area (which is code).Representation of code (executable) memory blocksInvokes the native function with a boolean return value.Converts a ruby Boolean into an 32 bit native integer.Converts a ruby Buffer into a native address.Invokes the native function, then passes the return value off to a conversion method to massage it to a custom ruby type.Invokes the native function with a 128 bit float return value.Converts a ruby Float into a 128 bit native float.Invokes the native function with a 32 bit float return value.Converts a ruby Float into a 32 bit native float.Invokes the native function with a 64 bit float return value.Converts a ruby Float into a 64 bit native float.Invokes the native function with a native pointer return value.Invokes the native function with a native pointer return value.Invokes the native function with n signed 8 bit integer return value.Converts a ruby Fixnum into a 16 bit native signed integer.Invokes the native function with a 32 bit integer return value.Converts a ruby Fixnum into a 32 bit native signed integer.Invokes the native function with a 64 bit integer return value.Converts a ruby Fixnum into a 64 bit native signed integer.Invokes the native function with n signed 8 bit integer return value.Converts a ruby Fixnum into an 8 bit native integer.Invokes the native function with a native string return value.Converts a ruby String into a native pointer.Invokes the native function with a native struct return value.Converts a ruby String into a native pointer.Invokes the native function with an unsigned 32 bit integer return value.Converts a ruby Fixnum into a 16 bit native unsigned integer.Invokes the native function with an unsigned 32 bit integer return value.Converts a ruby Fixnum into a 32 bit native unsigned integer.Invokes the native function with a 64 bit unsigned integer return value.Converts a ruby Fixnum into a 64 bit native unsigned integer.Invokes the native function with an unsigned 8 bit integer return value.Converts a ruby Fixnum into an 8 bit native unsigned integer.Invokes the native function with no return type, and returns nil to ruby.Small MemoryIO wrapper class to keep the library aliveSince the text area of a dynamic library is usually not readable nor writable, wrap the address in a MemoryIO instance that throws an exception on all accessesSome utility functions for FFI <=> jffi conversionsAn interface that is used to invoke a native function with a specific return type, and convert that return type to a ruby object.An invocation session.Common method factory definitionsWrapper around the native callback, to represent it as a ruby objectWraps a ruby proc in a JFFI ClosureHolds information for creating JFFI functionsConverts a ruby parameter into a native argument.A native function signatureHolder for a group of memory allocations.