req/sqlite3/ext/sqlite3_api/sqlite3_api_wrap.c
static VALUE SWIG_RubyInstanceFor(void* ptr) {
	/* Get a reference to the pointer as a Ruby number */
	VALUE key = SWIG_RubyPtrToReference(ptr);

	/* Now lookup the value stored in the global hash table */
	VALUE value = rb_hash_aref(swig_ruby_trackings, key);
	
	if (value == Qnil) {
	  /* No object exists - return nil. */
		return Qnil;
	}
	else {
		/* Convert this value to Ruby object */
		return SWIG_RubyReferenceToObject(value);
	}
}
/* Get the Ruby object that owns the specified C/C++ struct */
Get the Ruby object that owns the specified C/C++ struct
Get the Ruby object that owns the specified C / C ++ struct
static VALUE SWIG_RubyInstanceFor(void* ptr) {
	VALUE key = SWIG_RubyPtrToReference(ptr);
	VALUE value = rb_hash_aref(swig_ruby_trackings, key);
	if (value == Qnil) {
		return Qnil;
	}
	else {
		return SWIG_RubyReferenceToObject(value);
	}
}
static VALUE SWIG_RubyInstanceFor ( void * ptr ) { VALUE key = SWIG_RubyPtrToReference ( ptr ) ; VALUE value = rb_hash_aref ( swig_ruby_trackings , key ) ; if ( value == Qnil ) { return Qnil ; } else { return SWIG_RubyReferenceToObject ( value ) ; } }
Get the Ruby object that owns the specified C/C++ struct
Get the Ruby object that owns the specified C / C ++ struct
/* Get a reference to the pointer as a Ruby number */ /* Now lookup the value stored in the global hash table */ /* No object exists - return nil. */ /* Convert this value to Ruby object */