Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mruby_mbed_web mirb_mbed
src/version.c@0:158c61bb030f, 2015-03-25 (annotated)
- Committer:
- mzta
- Date:
- Wed Mar 25 17:36:16 2015 +0000
- Revision:
- 0:158c61bb030f
mirb_mbed initial commit;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mzta | 0:158c61bb030f | 1 | #include "mruby.h" |
| mzta | 0:158c61bb030f | 2 | #include "mruby/variable.h" |
| mzta | 0:158c61bb030f | 3 | |
| mzta | 0:158c61bb030f | 4 | void |
| mzta | 0:158c61bb030f | 5 | mrb_init_version(mrb_state* mrb) |
| mzta | 0:158c61bb030f | 6 | { |
| mzta | 0:158c61bb030f | 7 | mrb_define_global_const(mrb, "RUBY_VERSION", mrb_str_new_lit(mrb, MRUBY_RUBY_VERSION)); |
| mzta | 0:158c61bb030f | 8 | mrb_define_global_const(mrb, "RUBY_ENGINE", mrb_str_new_lit(mrb, MRUBY_RUBY_ENGINE)); |
| mzta | 0:158c61bb030f | 9 | mrb_define_global_const(mrb, "MRUBY_VERSION", mrb_str_new_lit(mrb, MRUBY_VERSION)); |
| mzta | 0:158c61bb030f | 10 | mrb_define_global_const(mrb, "MRUBY_RELEASE_DATE", mrb_str_new_lit(mrb, MRUBY_RELEASE_DATE)); |
| mzta | 0:158c61bb030f | 11 | mrb_define_global_const(mrb, "MRUBY_DESCRIPTION", mrb_str_new_lit(mrb, MRUBY_DESCRIPTION)); |
| mzta | 0:158c61bb030f | 12 | mrb_define_global_const(mrb, "MRUBY_COPYRIGHT", mrb_str_new_lit(mrb, MRUBY_COPYRIGHT)); |
| mzta | 0:158c61bb030f | 13 | } |
| mzta | 0:158c61bb030f | 14 |