Permalink
Browse files

* 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/branches/mvm@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 6abd0f4 commit d3fe41350020b4cc4938908bd5cb03ff478c8858 @nobu nobu committed Apr 1, 2010
Showing with 7 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +2 −0 include/ruby/ruby.h
View
@@ -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:
View
@@ -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 */

0 comments on commit d3fe413

Please sign in to comment.