Sha256: 3b96c0417a8c6b51239ce215a1912afc466d4bad5fdaef61f9381d3f61670400

Contents?: true

Size: 270 Bytes

Versions: 7

Compression:

Stored size: 270 Bytes

Contents

#include "cpp_api/Module.hpp"

template<typename Function_T, typename...Arg_Ts>
void Rice::define_global_function(char const * name, Function_T&& func, Arg_Ts const& ...args)
{
  Module(rb_mKernel).define_module_function(name, std::forward<Function_T>(func), args...);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rice-4.3.3 rice/global_function.ipp
rice-4.3.2 rice/global_function.ipp
rice-4.3.1 rice/global_function.ipp
rice-4.3.0 rice/global_function.ipp
rice-4.2.1 rice/global_function.ipp
rice-4.2.0 rice/global_function.ipp
rice-4.1.0 rice/global_function.ipp