diff options
Diffstat (limited to 'lib/ffi/variadic.rb')
-rw-r--r-- | lib/ffi/variadic.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ffi/variadic.rb b/lib/ffi/variadic.rb index 246b52f..389c53c 100644 --- a/lib/ffi/variadic.rb +++ b/lib/ffi/variadic.rb @@ -67,6 +67,11 @@ module FFI invoker end + # Retrieve Array of parameter types + # + # This method returns an Array of FFI types accepted as function parameters. + # + # @return [Array<FFI::Type>] def param_types [*@fixed, Type::Builtin::VARARGS] end |