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 | 2f2071824952b3c341bcd8b1ad74e91e4677420f (patch) | |
tree | bf16ae286a53ab2fde8843d6fa3c529e7eca0246 /include | |
parent | 5ef335319e925422adad386b9a3395b38c705a7b (diff) | |
download | ruby-2f2071824952b3c341bcd8b1ad74e91e4677420f.tar.gz |
* include/ruby/ruby.h (InitVM): calls per-VM initialization in
single VM, but does nothing in MVM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 7b482ccb17..5c00c8d155 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1401,6 +1401,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);InitVM_##ext();} + #if defined(__cplusplus) #if 0 { /* satisfy cc-mode */ |