Sha256: 251b838486096d4bc317675dd53b581b95e5c36e1ec822f0bd2b7228e621729e
Contents?: true
Size: 770 Bytes
Versions: 22
Compression:
Stored size: 770 Bytes
Contents
require 'ffi-gobject_introspection/i_base_info' require 'ffi-gobject_introspection/i_type_info' require 'ffi-gobject_introspection/i_arg_info' module GObjectIntrospection # Wraps a GICallableInfo struct; represents a callable, either # IFunctionInfo, ICallbackInfo or IVFuncInfo. class ICallableInfo < IBaseInfo def return_type ITypeInfo.wrap(Lib.g_callable_info_get_return_type @gobj) end def caller_owns Lib.g_callable_info_get_caller_owns @gobj end def may_return_null? Lib.g_callable_info_may_return_null @gobj end def n_args Lib.g_callable_info_get_n_args @gobj end def arg(index) IArgInfo.wrap(Lib.g_callable_info_get_arg @gobj, index) end ## build_array_method :args end end
Version data entries
22 entries across 22 versions & 1 rubygems