Moved _mSWIG to rubyrun.swg with all other static

variables.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-09-04 06:12:38 +00:00
commit d1defceb95
2 changed files with 6 additions and 5 deletions

View file

@ -95,6 +95,3 @@
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
#endif
/* Global module used to keep some internal SWIG stuff */
static VALUE _mSWIG = Qnil;

View file

@ -75,10 +75,14 @@ typedef struct {
} swig_class;
/* Global module used to keep some internal SWIG stuff */
static VALUE _mSWIG = Qnil;
static VALUE _cSWIG_Pointer = Qnil;
static VALUE swig_runtime_data_type_pointer = Qnil;
static VALUE swig_arity_id = Qnil;
static VALUE swig_call_id = Qnil;
/* Global module used to keep some internal SWIG stuff */
static ID swig_arity_id = 0;
static ID swig_call_id = 0;
/*
If your swig extension is to be run within an embedded ruby and has