From 7c469c0b9dadd1de09fed18c3e5cc551012c38c1 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Sat, 29 Dec 2012 05:37:55 +0900 Subject: 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 --- doc/mrbgems/c_extension_example/test/example.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'doc/mrbgems/c_extension_example/test/example.c') 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 void -mrb_c_extension_example_gem_test_init(mrb_state *mrb) +mrb_c_extension_example_gem_test(mrb_state *mrb) { /* test initializer in C */ } -- cgit v1.2.3