summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/c_extension_example/test/example.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 08:57:08 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 08:57:08 -0800
commita30c7fa73082d1e17bdd3adf87afd40e09640ef8 (patch)
tree9e1a6e1f1c3cf399aa51ce88d328a24fe62bb227 /doc/mrbgems/c_extension_example/test/example.c
parent429359819a9a3155984c134f62976a42d314244c (diff)
parentdee0b2283c180c4e2584ff27dcb241a80fb7cfc2 (diff)
downloadmruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.tar.gz
mruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.zip
Merge pull request #665 from masuidrive/add_mruby_cflags_in_mrbgems
Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems
Diffstat (limited to 'doc/mrbgems/c_extension_example/test/example.c')
-rw-r--r--doc/mrbgems/c_extension_example/test/example.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/mrbgems/c_extension_example/test/example.c b/doc/mrbgems/c_extension_example/test/example.c
new file mode 100644
index 000000000..430e87f19
--- /dev/null
+++ b/doc/mrbgems/c_extension_example/test/example.c
@@ -0,0 +1,9 @@
+/*
+ if *.c exists in test directory, auto generate this file
+*/
+
+void
+mrb_c_extension_example_gem_test_init(mrb_state *mrb)
+{
+ /* test initializer in C */
+}