mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
mrbgems/gem_init.c@1:8ccd1d494a4b, 2015-04-13 (annotated)
- Committer:
- mzta
- Date:
- Mon Apr 13 05:20:15 2015 +0000
- Revision:
- 1:8ccd1d494a4b
- Parent:
- 0:158c61bb030f
- code refactoring.; - add SPI, SPISlave, I2C class to mruby-mbed (Incomplete).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mzta | 0:158c61bb030f | 1 | /* |
mzta | 0:158c61bb030f | 2 | * This file contains a list of all |
mzta | 0:158c61bb030f | 3 | * initializing methods which are |
mzta | 0:158c61bb030f | 4 | * necessary to bootstrap all gems. |
mzta | 0:158c61bb030f | 5 | * |
mzta | 0:158c61bb030f | 6 | * IMPORTANT: |
mzta | 0:158c61bb030f | 7 | * This file was generated! |
mzta | 0:158c61bb030f | 8 | * All manual changes will get lost. |
mzta | 0:158c61bb030f | 9 | */ |
mzta | 0:158c61bb030f | 10 | |
mzta | 0:158c61bb030f | 11 | #include "mruby.h" |
mzta | 0:158c61bb030f | 12 | |
mzta | 0:158c61bb030f | 13 | void GENERATED_TMP_mrb_mruby_sprintf_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 14 | void GENERATED_TMP_mrb_mruby_sprintf_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 15 | void GENERATED_TMP_mrb_mruby_print_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 16 | void GENERATED_TMP_mrb_mruby_print_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 17 | void GENERATED_TMP_mrb_mruby_math_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 18 | void GENERATED_TMP_mrb_mruby_math_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 19 | void GENERATED_TMP_mrb_mruby_struct_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 20 | void GENERATED_TMP_mrb_mruby_struct_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 21 | void GENERATED_TMP_mrb_mruby_enum_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 22 | void GENERATED_TMP_mrb_mruby_enum_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 23 | void GENERATED_TMP_mrb_mruby_string_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 24 | void GENERATED_TMP_mrb_mruby_string_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 25 | void GENERATED_TMP_mrb_mruby_numeric_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 26 | void GENERATED_TMP_mrb_mruby_numeric_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 27 | void GENERATED_TMP_mrb_mruby_array_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 28 | void GENERATED_TMP_mrb_mruby_array_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 29 | void GENERATED_TMP_mrb_mruby_hash_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 30 | void GENERATED_TMP_mrb_mruby_hash_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 31 | void GENERATED_TMP_mrb_mruby_range_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 32 | void GENERATED_TMP_mrb_mruby_range_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 33 | void GENERATED_TMP_mrb_mruby_proc_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 34 | void GENERATED_TMP_mrb_mruby_proc_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 35 | void GENERATED_TMP_mrb_mruby_symbol_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 36 | void GENERATED_TMP_mrb_mruby_symbol_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 37 | void GENERATED_TMP_mrb_mruby_random_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 38 | void GENERATED_TMP_mrb_mruby_random_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 39 | void GENERATED_TMP_mrb_mruby_object_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 40 | void GENERATED_TMP_mrb_mruby_object_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 41 | void GENERATED_TMP_mrb_mruby_objectspace_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 42 | void GENERATED_TMP_mrb_mruby_objectspace_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 43 | void GENERATED_TMP_mrb_mruby_fiber_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 44 | void GENERATED_TMP_mrb_mruby_fiber_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 45 | void GENERATED_TMP_mrb_mruby_enumerator_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 46 | void GENERATED_TMP_mrb_mruby_enumerator_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 47 | void GENERATED_TMP_mrb_mruby_enum_lazy_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 48 | void GENERATED_TMP_mrb_mruby_enum_lazy_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 49 | void GENERATED_TMP_mrb_mruby_toplevel_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 50 | void GENERATED_TMP_mrb_mruby_toplevel_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 51 | void GENERATED_TMP_mrb_mruby_kernel_ext_gem_init(mrb_state*); |
mzta | 0:158c61bb030f | 52 | void GENERATED_TMP_mrb_mruby_kernel_ext_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 53 | void GENERATED_TMP_mrb_mruby_mbed_gem_final(mrb_state*); |
mzta | 0:158c61bb030f | 54 | |
mzta | 0:158c61bb030f | 55 | static void |
mzta | 0:158c61bb030f | 56 | mrb_final_mrbgems(mrb_state *mrb) { |
mzta | 0:158c61bb030f | 57 | GENERATED_TMP_mrb_mruby_sprintf_gem_final(mrb); |
mzta | 0:158c61bb030f | 58 | GENERATED_TMP_mrb_mruby_print_gem_final(mrb); |
mzta | 0:158c61bb030f | 59 | GENERATED_TMP_mrb_mruby_math_gem_final(mrb); |
mzta | 0:158c61bb030f | 60 | GENERATED_TMP_mrb_mruby_struct_gem_final(mrb); |
mzta | 0:158c61bb030f | 61 | GENERATED_TMP_mrb_mruby_enum_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 62 | GENERATED_TMP_mrb_mruby_string_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 63 | GENERATED_TMP_mrb_mruby_numeric_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 64 | GENERATED_TMP_mrb_mruby_array_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 65 | GENERATED_TMP_mrb_mruby_hash_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 66 | GENERATED_TMP_mrb_mruby_range_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 67 | GENERATED_TMP_mrb_mruby_proc_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 68 | GENERATED_TMP_mrb_mruby_symbol_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 69 | GENERATED_TMP_mrb_mruby_random_gem_final(mrb); |
mzta | 0:158c61bb030f | 70 | GENERATED_TMP_mrb_mruby_object_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 71 | GENERATED_TMP_mrb_mruby_objectspace_gem_final(mrb); |
mzta | 0:158c61bb030f | 72 | GENERATED_TMP_mrb_mruby_fiber_gem_final(mrb); |
mzta | 0:158c61bb030f | 73 | GENERATED_TMP_mrb_mruby_enumerator_gem_final(mrb); |
mzta | 0:158c61bb030f | 74 | GENERATED_TMP_mrb_mruby_enum_lazy_gem_final(mrb); |
mzta | 0:158c61bb030f | 75 | GENERATED_TMP_mrb_mruby_toplevel_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 76 | GENERATED_TMP_mrb_mruby_kernel_ext_gem_final(mrb); |
mzta | 0:158c61bb030f | 77 | GENERATED_TMP_mrb_mruby_mbed_gem_final(mrb); |
mzta | 0:158c61bb030f | 78 | } |
mzta | 0:158c61bb030f | 79 | |
mzta | 0:158c61bb030f | 80 | void |
mzta | 0:158c61bb030f | 81 | mrb_init_mrbgems(mrb_state *mrb) { |
mzta | 0:158c61bb030f | 82 | GENERATED_TMP_mrb_mruby_sprintf_gem_init(mrb); |
mzta | 0:158c61bb030f | 83 | GENERATED_TMP_mrb_mruby_print_gem_init(mrb); |
mzta | 0:158c61bb030f | 84 | GENERATED_TMP_mrb_mruby_math_gem_init(mrb); |
mzta | 0:158c61bb030f | 85 | GENERATED_TMP_mrb_mruby_struct_gem_init(mrb); |
mzta | 0:158c61bb030f | 86 | GENERATED_TMP_mrb_mruby_enum_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 87 | GENERATED_TMP_mrb_mruby_string_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 88 | GENERATED_TMP_mrb_mruby_numeric_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 89 | GENERATED_TMP_mrb_mruby_array_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 90 | GENERATED_TMP_mrb_mruby_hash_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 91 | GENERATED_TMP_mrb_mruby_range_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 92 | GENERATED_TMP_mrb_mruby_proc_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 93 | GENERATED_TMP_mrb_mruby_symbol_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 94 | GENERATED_TMP_mrb_mruby_random_gem_init(mrb); |
mzta | 0:158c61bb030f | 95 | GENERATED_TMP_mrb_mruby_object_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 96 | GENERATED_TMP_mrb_mruby_objectspace_gem_init(mrb); |
mzta | 0:158c61bb030f | 97 | GENERATED_TMP_mrb_mruby_fiber_gem_init(mrb); |
mzta | 0:158c61bb030f | 98 | GENERATED_TMP_mrb_mruby_enumerator_gem_init(mrb); |
mzta | 0:158c61bb030f | 99 | GENERATED_TMP_mrb_mruby_enum_lazy_gem_init(mrb); |
mzta | 0:158c61bb030f | 100 | GENERATED_TMP_mrb_mruby_toplevel_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 101 | GENERATED_TMP_mrb_mruby_kernel_ext_gem_init(mrb); |
mzta | 0:158c61bb030f | 102 | GENERATED_TMP_mrb_mruby_mbed_gem_init(mrb); |
mzta | 0:158c61bb030f | 103 | mrb_state_atexit(mrb, mrb_final_mrbgems); |
mzta | 0:158c61bb030f | 104 | } |
mzta | 0:158c61bb030f | 105 |