Last change
on this file since 380 was 331, checked in by coas-nagasima, 6 years ago |
prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
836 bytes
|
Rev | Line | |
---|
[331] | 1 | #include <mruby.h>
|
---|
| 2 | #include <mruby/variable.h>
|
---|
[270] | 3 |
|
---|
| 4 | void
|
---|
| 5 | mrb_init_version(mrb_state* mrb)
|
---|
| 6 | {
|
---|
| 7 | mrb_value mruby_version = mrb_str_new_lit(mrb, MRUBY_VERSION);
|
---|
| 8 |
|
---|
| 9 | mrb_define_global_const(mrb, "RUBY_VERSION", mrb_str_new_lit(mrb, MRUBY_RUBY_VERSION));
|
---|
| 10 | mrb_define_global_const(mrb, "RUBY_ENGINE", mrb_str_new_lit(mrb, MRUBY_RUBY_ENGINE));
|
---|
| 11 | mrb_define_global_const(mrb, "RUBY_ENGINE_VERSION", mruby_version);
|
---|
[331] | 12 | mrb_define_global_const(mrb, "MRUBY_VERSION", mruby_version);
|
---|
[270] | 13 | mrb_define_global_const(mrb, "MRUBY_RELEASE_NO", mrb_fixnum_value(MRUBY_RELEASE_NO));
|
---|
| 14 | mrb_define_global_const(mrb, "MRUBY_RELEASE_DATE", mrb_str_new_lit(mrb, MRUBY_RELEASE_DATE));
|
---|
| 15 | mrb_define_global_const(mrb, "MRUBY_DESCRIPTION", mrb_str_new_lit(mrb, MRUBY_DESCRIPTION));
|
---|
| 16 | mrb_define_global_const(mrb, "MRUBY_COPYRIGHT", mrb_str_new_lit(mrb, MRUBY_COPYRIGHT));
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.