org.jruby.ext.ffi
Class DataConverter
java.lang.Object
org.jruby.ext.ffi.DataConverter
public class DataConverter
- extends java.lang.Object
Converts data from one FFI type to another.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataConverter
public DataConverter()
createDataConverterModule
public static RubyModule createDataConverterModule(Ruby runtime,
RubyModule module)
native_type
public static IRubyObject native_type(ThreadContext context,
IRubyObject self,
IRubyObject[] args)
to_native
public static IRubyObject to_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
from_native
public static IRubyObject from_native(ThreadContext context,
IRubyObject self,
IRubyObject value,
IRubyObject ctx)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.