summaryrefslogtreecommitdiff
path: root/Lib/ruby
diff options
context:
space:
mode:
authorGonzalo Garramuno <ggarra@advancedsl.com.ar>2007-09-04 06:43:28 +0000
committerGonzalo Garramuno <ggarra@advancedsl.com.ar>2007-09-04 06:43:28 +0000
commit94a6b8ddb172cff287ad2f2294477c78f6cf3a53 (patch)
tree75709c86a72b84f12c429e26dbe52f573435529a /Lib/ruby
parentdec7109eb5469559a413b5a5c8d4d8f62108a8e7 (diff)
downloadswig-94a6b8ddb172cff287ad2f2294477c78f6cf3a53.tar.gz
Revered _mSWIG to rubyhead.swg as some tests would fail.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/ruby')
-rw-r--r--Lib/ruby/rubyhead.swg1
-rw-r--r--Lib/ruby/rubyrun.swg5
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/ruby/rubyhead.swg b/Lib/ruby/rubyhead.swg
index 0f73a32ec..435e8cd3e 100644
--- a/Lib/ruby/rubyhead.swg
+++ b/Lib/ruby/rubyhead.swg
@@ -95,3 +95,4 @@
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
#endif
+static VALUE _mSWIG = Qnil;
diff --git a/Lib/ruby/rubyrun.swg b/Lib/ruby/rubyrun.swg
index 6095abbe0..bcb15f327 100644
--- a/Lib/ruby/rubyrun.swg
+++ b/Lib/ruby/rubyrun.swg
@@ -75,12 +75,11 @@ typedef struct {
} swig_class;
-/* Global module used to keep some internal SWIG stuff */
-static VALUE _mSWIG = Qnil;
+/* Global pointer used to keep some internal SWIG stuff */
static VALUE _cSWIG_Pointer = Qnil;
static VALUE swig_runtime_data_type_pointer = Qnil;
-/* Global module used to keep some internal SWIG stuff */
+/* Global IDs used to keep some internal SWIG stuff */
static ID swig_arity_id = 0;
static ID swig_call_id = 0;