diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-01 20:38:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-01 20:38:38 +0000 |
commit | d3fe41350020b4cc4938908bd5cb03ff478c8858 (patch) | |
tree | 353c3ffaa2ce40568bba398576aa07080e96e981 | |
parent | 6abd0f4c87c5d070cadfeb55730b7981d1935017 (diff) | |
download | ruby-mvm.tar.gz |
* include/ruby/ruby.h (InitVM): calls per-VM initialization inmvm
single VM, but does nothing in MVM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/ruby.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Apr 2 05:38:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/ruby.h (InitVM): calls per-VM initialization in + single VM, but does nothing in MVM. + Fri Apr 2 02:56:56 2010 Marc-Andre Lafortune <ruby-core@marc-andre.ca> * lib/matrix.rb: : New instance methods: diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 207c601c34..52a8de05a7 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1391,6 +1391,8 @@ int st_strncasecmp(const char *s1, const char *s2, size_t n); unsigned long ruby_strtoul(const char *str, char **endptr, int base); #define STRTOUL(str, endptr, base) (ruby_strtoul(str, endptr, base)) +#define InitVM(ext) {void InitVM_##ext(void);(void)InitVM_##ext;} + #if defined(__cplusplus) #if 0 { /* satisfy cc-mode */ |