summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/ext/newgem/newgem.c.tt')
-rw-r--r--lib/bundler/templates/newgem/ext/newgem/newgem.c.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt b/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt
index 8177c4d202..bcd5148569 100644
--- a/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt
+++ b/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt
@@ -2,7 +2,7 @@
VALUE rb_m<%= config[:constant_array].join %>;
-void
+RUBY_FUNC_EXPORTED void
Init_<%= config[:underscored_name] %>(void)
{
rb_m<%= config[:constant_array].join %> = rb_define_module(<%= config[:constant_name].inspect %>);