req/sqlite3/ext/sqlite3_api/sqlite3_api_wrap.c
static VALUE SWIG_RubyPtrToReference(void* ptr) {
	/* We cast the pointer to an unsigned long
	 and then store a reference to it using
	 a Ruby number object. */

	/* Convert the pointer to a Ruby number */
	unsigned long value = (unsigned long) ptr;
	return LONG2NUM(value);
}
/* Get a Ruby number to reference a pointer */
Get a Ruby number to reference a pointer
Get a Ruby number to reference a pointer
static VALUE SWIG_RubyPtrToReference(void* ptr) {
	unsigned long value = (unsigned long) ptr;
	return LONG2NUM(value);
}
static VALUE SWIG_RubyPtrToReference ( void * ptr ) { unsigned long value = ( unsigned long ) ptr ; return LONG2NUM ( value ) ; }
Get a Ruby number to reference a pointer
Get a Ruby number to reference a pointer
/* We cast the pointer to an unsigned long
	 and then store a reference to it using
	 a Ruby number object. */ /* Convert the pointer to a Ruby number */