Sha256: 737fddfc6db9ec08d1f20d39412e182873c2f37522f37db03a2d63e63a8ae83a
Contents?: true
Size: 679 Bytes
Versions: 34
Compression:
Stored size: 679 Bytes
Contents
#ifndef Rice__global_function__hpp_ #define Rice__global_function__hpp_ #include "Arg.hpp" namespace Rice { /** * Helper forwarder method to easily wrap * globally available functions. This simply * forwards off a call to define_module_function * on rb_mKernel */ template<typename Func_T> void define_global_function( char const * name, Func_T func, Arguments* arguments = 0); // FIXME: See Module::define_method with Arg template<typename Func_T> void define_global_function( char const * name, Func_T func, Arg const& arg); } // Rice #include "global_function.ipp" #endif // Rice__global_function__hpp_
Version data entries
34 entries across 34 versions & 6 rubygems