Sha256: 802336d43240ac40c9ec0110dc566506fa1e154efda386c798805e09951a2b42
Contents?: true
Size: 497 Bytes
Versions: 38
Compression:
Stored size: 497 Bytes
Contents
#ifndef Rice__detail__Wrapped_Function__hpp_ #define Rice__detail__Wrapped_Function__hpp_ #include "ruby.hpp" namespace Rice { namespace detail { class Wrapped_Function { public: Wrapped_Function(RUBY_METHOD_FUNC func, int arity) : func_(func) , arity_(arity) { } RUBY_METHOD_FUNC func() const { return func_; } int arity() const { return arity_; } private: RUBY_METHOD_FUNC func_; int arity_; }; } // detail } // Rice #endif // Rice__detail__Wrapped_Function__hpp_
Version data entries
38 entries across 38 versions & 6 rubygems