req/sqlite3/ext/sqlite3_api/sqlite3_api_wrap.c
static void
SWIG_Ruby_define_class(swig_type_info *type)
{
    VALUE klass;
    char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
    sprintf(klass_name, "TYPE%s", type->name);
    if (NIL_P(_cSWIG_Pointer)) {
	_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
	rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
    }
    klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
    free((void *) klass_name);
}
/* Define Ruby class for C type */
Define Ruby class for C type
Define Ruby class for C type
static void
SWIG_Ruby_define_class(swig_type_info *type)
{
    VALUE klass;
    char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
    sprintf(klass_name, "TYPE%s", type->name);
    if (NIL_P(_cSWIG_Pointer)) {
	_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
	rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
    }
    klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
    free((void *) klass_name);
}
static void SWIG_Ruby_define_class ( swig_type_info * type ) { VALUE klass ; char * klass_name = ( char * ) malloc ( 4 + strlen ( type -> name ) + 1 ) ; sprintf ( klass_name , " " , type -> name ) ; if ( NIL_P ( _cSWIG_Pointer ) ) { _cSWIG_Pointer = rb_define_class_under ( _mSWIG , " " , rb_cObject ) ; rb_undef_method ( CLASS_OF ( _cSWIG_Pointer ) , " " ) ; } klass = rb_define_class_under ( _mSWIG , klass_name , _cSWIG_Pointer ) ; free ( ( void * ) klass_name ) ; }
Define Ruby class for C type
Define Ruby class for C type