|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.ext.ffi.DataConverter
public class DataConverter
Converts data from one FFI type to another.
| Constructor Summary | |
|---|---|
DataConverter()
|
|
| Method Summary | |
|---|---|
static RubyModule |
createDataConverterModule(Ruby runtime,
RubyModule module)
|
static IRubyObject |
from_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
|
static IRubyObject |
native_type(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
|
static IRubyObject |
to_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataConverter()
| Method Detail |
|---|
public static RubyModule createDataConverterModule(Ruby runtime,
RubyModule module)
public static IRubyObject native_type(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
public static IRubyObject to_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
public static IRubyObject from_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||