Package org.jruby.ext.ffi.jffi
Class DataConverters.IntOrEnumConverter
java.lang.Object
org.jruby.ext.ffi.jffi.NativeDataConverter
org.jruby.ext.ffi.jffi.DataConverters.IntOrEnumConverter
- Enclosing class:
- DataConverters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IRubyObjectprivate final NativeTypeprivate IdentityHashMap<RubySymbol,RubyInteger> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromNative(ThreadContext context, IRubyObject obj) private IRubyObjectlookupAndCacheValue(ThreadContext context, IRubyObject obj) (package private) IRubyObjectlookupOrConvert(ThreadContext context, IRubyObject obj) toNative(ThreadContext context, IRubyObject obj) Methods inherited from class org.jruby.ext.ffi.jffi.NativeDataConverter
isPostInvokeRequired, isReferenceRequired
-
Field Details
-
nativeType
-
enums
-
symbolToValue
-
-
Constructor Details
-
IntOrEnumConverter
-
-
Method Details
-
nativeType
- Specified by:
nativeTypein classNativeDataConverter
-
fromNative
- Specified by:
fromNativein classNativeDataConverter
-
toNative
- Specified by:
toNativein classNativeDataConverter
-
lookupOrConvert
-
lookupAndCacheValue
-