diff options
Diffstat (limited to 'ext/dl/lib')
-rw-r--r-- | ext/dl/lib/dl/func.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dl/lib/dl/func.rb b/ext/dl/lib/dl/func.rb index b29aebcc8b..97f24a68d0 100644 --- a/ext/dl/lib/dl/func.rb +++ b/ext/dl/lib/dl/func.rb @@ -25,6 +25,10 @@ module DL @cfunc.to_i end + def name + @cfunc.name + end + def call(*args, &block) funcs = [] args = wrap_args(args, @stack.types, funcs, &block) |