summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/c_extension_example/test
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2012-12-29 05:37:55 +0900
committerYuichiro MASUI <[email protected]>2013-01-03 02:24:15 +0900
commit7c469c0b9dadd1de09fed18c3e5cc551012c38c1 (patch)
treeb79aa703ef7c528896c4f1be8280d0691314008b /doc/mrbgems/c_extension_example/test
parenta48fc0d7952ad1f10ae777637269fe6a3f9ad0a2 (diff)
downloadmruby-7c469c0b9dadd1de09fed18c3e5cc551012c38c1.tar.gz
mruby-7c469c0b9dadd1de09fed18c3e5cc551012c38c1.zip
Rebuild CRuby based building script without Makefile
Tested CRuby 1.8.6 and 1.9.3 You can see building configuration in build_config.rb
Diffstat (limited to 'doc/mrbgems/c_extension_example/test')
-rw-r--r--doc/mrbgems/c_extension_example/test/example.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/mrbgems/c_extension_example/test/example.c b/doc/mrbgems/c_extension_example/test/example.c
index 430e87f19..ab410333d 100644
--- a/doc/mrbgems/c_extension_example/test/example.c
+++ b/doc/mrbgems/c_extension_example/test/example.c
@@ -1,9 +1,7 @@
-/*
- if *.c exists in test directory, auto generate this file
-*/
+#include <mruby.h>
void
-mrb_c_extension_example_gem_test_init(mrb_state *mrb)
+mrb_c_extension_example_gem_test(mrb_state *mrb)
{
/* test initializer in C */
}