PHP 8.2.31
Preview: newgem.c.tt Size: 249 B
//proc/thread-self/root/opt/alt/ruby26/lib64/ruby/2.6.0/bundler/templates/newgem/ext/newgem/newgem.c.tt

#include "<%= config[:underscored_name] %>.h"

VALUE rb_m<%= config[:constant_array].join %>;

void
Init_<%= config[:underscored_name] %>(void)
{
  rb_m<%= config[:constant_array].join %> = rb_define_module(<%= config[:constant_name].inspect %>);
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
71 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download
249 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download
177 B lrw-r--r-- 2022-04-12 11:50:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).