summaryrefslogtreecommitdiff
path: root/jni/ruby/inits.c
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/inits.c
Fresh start
Diffstat (limited to 'jni/ruby/inits.c')
-rw-r--r--jni/ruby/inits.c66
1 files changed, 66 insertions, 0 deletions
diff --git a/jni/ruby/inits.c b/jni/ruby/inits.c
new file mode 100644
index 0000000..9205f55
--- /dev/null
+++ b/jni/ruby/inits.c
@@ -0,0 +1,66 @@
+/**********************************************************************
+
+ inits.c -
+
+ $Author: akr $
+ created at: Tue Dec 28 16:01:58 JST 1993
+
+ Copyright (C) 1993-2007 Yukihiro Matsumoto
+
+**********************************************************************/
+
+#include "internal.h"
+
+#define CALL(n) {void Init_##n(void); Init_##n();}
+
+void
+rb_call_inits(void)
+{
+ CALL(Method);
+ CALL(RandomSeed);
+ CALL(sym);
+ CALL(var_tables);
+ CALL(Object);
+ CALL(top_self);
+ CALL(Encoding);
+ CALL(Comparable);
+ CALL(Enumerable);
+ CALL(String);
+ CALL(Exception);
+ CALL(eval);
+ CALL(safe);
+ CALL(jump);
+ CALL(Numeric);
+ CALL(Bignum);
+ CALL(syserr);
+ CALL(Array);
+ CALL(Hash);
+ CALL(Struct);
+ CALL(Regexp);
+ CALL(pack);
+ CALL(transcode);
+ CALL(marshal);
+ CALL(Range);
+ CALL(IO);
+ CALL(Dir);
+ CALL(Time);
+ CALL(Random);
+ CALL(signal);
+ CALL(load);
+ CALL(Proc);
+ CALL(Binding);
+ CALL(Math);
+ CALL(GC);
+ CALL(Enumerator);
+ CALL(VM);
+ CALL(ISeq);
+ CALL(Thread);
+ CALL(process);
+ CALL(Cont);
+ CALL(Rational);
+ CALL(Complex);
+ CALL(version);
+ CALL(vm_trace);
+ CALL(zlib);
+}
+#undef CALL