Module: Sqlite3_c

Defined in:
ext/sqlite3_c.c

Constant Summary collapse

SQLITE_OK =
SWIG_From_int((int)(0))
SQLITE_ERROR =
SWIG_From_int((int)(1))
SQLITE_INTERNAL =
SWIG_From_int((int)(2))
SQLITE_PERM =
SWIG_From_int((int)(3))
SQLITE_ABORT =
SWIG_From_int((int)(4))
SQLITE_BUSY =
SWIG_From_int((int)(5))
SQLITE_LOCKED =
SWIG_From_int((int)(6))
SQLITE_NOMEM =
SWIG_From_int((int)(7))
SQLITE_READONLY =
SWIG_From_int((int)(8))
SQLITE_INTERRUPT =
SWIG_From_int((int)(9))
SQLITE_IOERR =
SWIG_From_int((int)(10))
SQLITE_CORRUPT =
SWIG_From_int((int)(11))
SQLITE_NOTFOUND =
SWIG_From_int((int)(12))
SQLITE_FULL =
SWIG_From_int((int)(13))
SQLITE_CANTOPEN =
SWIG_From_int((int)(14))
SQLITE_PROTOCOL =
SWIG_From_int((int)(15))
SQLITE_EMPTY =
SWIG_From_int((int)(16))
SQLITE_SCHEMA =
SWIG_From_int((int)(17))
SQLITE_TOOBIG =
SWIG_From_int((int)(18))
SQLITE_CONSTRAINT =
SWIG_From_int((int)(19))
SQLITE_MISMATCH =
SWIG_From_int((int)(20))
SQLITE_MISUSE =
SWIG_From_int((int)(21))
SQLITE_NOLFS =
SWIG_From_int((int)(22))
SQLITE_AUTH =
SWIG_From_int((int)(23))
SQLITE_FORMAT =
SWIG_From_int((int)(24))
SQLITE_RANGE =
SWIG_From_int((int)(25))
SQLITE_NOTADB =
SWIG_From_int((int)(26))
SQLITE_ROW =
SWIG_From_int((int)(100))
SQLITE_DONE =
SWIG_From_int((int)(101))

Class Method Summary collapse

Class Method Details

.sqlite3_aggregate_context(*args) ⇒ Object



4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
# File 'ext/sqlite3_c.c', line 4255

SWIGINTERN VALUE
_wrap_sqlite3_aggregate_context(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  int arg2 ;
  VALUE *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_aggregate_context" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_aggregate_context" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (VALUE *)sqlite3_aggregate_context(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_aggregate_count(*args) ⇒ Object



3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
# File 'ext/sqlite3_c.c', line 3553

SWIGINTERN VALUE
_wrap_sqlite3_aggregate_count(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_aggregate_count" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  result = (int)sqlite3_aggregate_count(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_blob(*args) ⇒ Object



2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
# File 'ext/sqlite3_c.c', line 2451

SWIGINTERN VALUE
_wrap_sqlite3_bind_blob(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  void (*arg5)(void *) = (void (*)(void *)) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  int val4 ;
  int ecode4 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 5) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_blob" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_blob" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_bind_blob" "', argument " "3"" of type '" "void const *""'"); 
  }
  ecode4 = SWIG_AsVal_int(argv[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "sqlite3_bind_blob" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  {
    int res = SWIG_ConvertFunctionPtr(argv[4], (void**)(&arg5), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_bind_blob" "', argument " "5"" of type '" "void (*)(void *)""'"); 
    }
  }
  result = (int)sqlite3_bind_blob(arg1,arg2,(void const *)arg3,arg4,arg5);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_double(*args) ⇒ Object



2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
# File 'ext/sqlite3_c.c', line 2504

SWIGINTERN VALUE
_wrap_sqlite3_bind_double(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  double arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_double" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_double" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  ecode3 = SWIG_AsVal_double(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_bind_double" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = (double)(val3);
  result = (int)sqlite3_bind_double(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_int(*args) ⇒ Object



2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
# File 'ext/sqlite3_c.c', line 2544

SWIGINTERN VALUE
_wrap_sqlite3_bind_int(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  int arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_int" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_int" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_bind_int" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = (int)sqlite3_bind_int(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_int64(*args) ⇒ Object



2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
# File 'ext/sqlite3_c.c', line 2584

SWIGINTERN VALUE
_wrap_sqlite3_bind_int64(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  sqlite_int64 arg3 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_int64" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_int64" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  {
    res3 = SWIG_ConvertPtr(argv[2], &argp3, SWIGTYPE_p_sqlite_int64,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_bind_int64" "', argument " "3"" of type '" "sqlite_int64""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sqlite3_bind_int64" "', argument " "3"" of type '" "sqlite_int64""'");
    } else {
      arg3 = *((sqlite_int64 *)(argp3));
    }
  }
  result = (int)sqlite3_bind_int64(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_null(*args) ⇒ Object



2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
# File 'ext/sqlite3_c.c', line 2630

SWIGINTERN VALUE
_wrap_sqlite3_bind_null(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_null" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_null" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)sqlite3_bind_null(arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_parameter_count(*args) ⇒ Object



2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
# File 'ext/sqlite3_c.c', line 2773

SWIGINTERN VALUE
_wrap_sqlite3_bind_parameter_count(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_parameter_count" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_bind_parameter_count(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_parameter_index(*args) ⇒ Object



2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
# File 'ext/sqlite3_c.c', line 2829

SWIGINTERN VALUE
_wrap_sqlite3_bind_parameter_index(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  char *arg2 = (char *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_parameter_index" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_bind_parameter_index" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (int)sqlite3_bind_parameter_index(arg1,(char const *)arg2);
  vresult = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return vresult;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
}

.sqlite3_bind_parameter_name(*args) ⇒ Object



2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
# File 'ext/sqlite3_c.c', line 2797

SWIGINTERN VALUE
_wrap_sqlite3_bind_parameter_name(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_parameter_name" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_parameter_name" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (char *)sqlite3_bind_parameter_name(arg1,arg2);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_bind_text(*args) ⇒ Object



2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
# File 'ext/sqlite3_c.c', line 2662

SWIGINTERN VALUE
_wrap_sqlite3_bind_text(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void (*arg5)(void *) = (void (*)(void *)) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 5) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_text" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_text" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_bind_text" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  ecode4 = SWIG_AsVal_int(argv[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "sqlite3_bind_text" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  {
    int res = SWIG_ConvertFunctionPtr(argv[4], (void**)(&arg5), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_bind_text" "', argument " "5"" of type '" "void (*)(void *)""'"); 
    }
  }
  result = (int)sqlite3_bind_text(arg1,arg2,(char const *)arg3,arg4,arg5);
  vresult = SWIG_From_int((int)(result));
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return vresult;
fail:
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return Qnil;
}

.sqlite3_bind_text16(*args) ⇒ Object



2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'ext/sqlite3_c.c', line 2720

SWIGINTERN VALUE
_wrap_sqlite3_bind_text16(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  void *arg3 = (void *) 0 ;
  int arg4 ;
  void (*arg5)(void *) = (void (*)(void *)) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  int val4 ;
  int ecode4 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 5) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_bind_text16" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_bind_text16" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_bind_text16" "', argument " "3"" of type '" "void const *""'"); 
  }
  ecode4 = SWIG_AsVal_int(argv[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "sqlite3_bind_text16" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  {
    int res = SWIG_ConvertFunctionPtr(argv[4], (void**)(&arg5), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_bind_text16" "', argument " "5"" of type '" "void (*)(void *)""'"); 
    }
  }
  result = (int)sqlite3_bind_text16(arg1,arg2,(void const *)arg3,arg4,arg5);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_busy_handler(*args) ⇒ Object



1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
# File 'ext/sqlite3_c.c', line 1962

SWIGINTERN VALUE
_wrap_sqlite3_busy_handler(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int (*arg2)(void *,int) = (int (*)(void *,int)) 0 ;
  void *arg3 = (void *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_busy_handler" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_int__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_busy_handler" "', argument " "2"" of type '" "int (*)(void *,int)""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_busy_handler" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (int)sqlite3_busy_handler(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_busy_timeout(*args) ⇒ Object



1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
# File 'ext/sqlite3_c.c', line 1999

SWIGINTERN VALUE
_wrap_sqlite3_busy_timeout(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_busy_timeout" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_busy_timeout" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)sqlite3_busy_timeout(arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_changes(*args) ⇒ Object



1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'ext/sqlite3_c.c', line 1844

SWIGINTERN VALUE
_wrap_sqlite3_changes(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_changes" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (int)sqlite3_changes(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_close(*args) ⇒ Object



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
# File 'ext/sqlite3_c.c', line 1794

SWIGINTERN VALUE
_wrap_sqlite3_close(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_close" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (int)sqlite3_close(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_blob(*args) ⇒ Object



3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
# File 'ext/sqlite3_c.c', line 3064

SWIGINTERN VALUE
_wrap_sqlite3_column_blob(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  BLOB *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_blob" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_blob" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (BLOB *)sqlite3_column_blob(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_BLOB, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_bytes(*args) ⇒ Object



3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'ext/sqlite3_c.c', line 3096

SWIGINTERN VALUE
_wrap_sqlite3_column_bytes(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_bytes" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_bytes" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)sqlite3_column_bytes(arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_bytes16(*args) ⇒ Object



3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
# File 'ext/sqlite3_c.c', line 3128

SWIGINTERN VALUE
_wrap_sqlite3_column_bytes16(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_bytes16" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_bytes16" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)sqlite3_column_bytes16(arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_count(*args) ⇒ Object



2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'ext/sqlite3_c.c', line 2864

SWIGINTERN VALUE
_wrap_sqlite3_column_count(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_count" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_column_count(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_decltype(*args) ⇒ Object



2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'ext/sqlite3_c.c', line 2952

SWIGINTERN VALUE
_wrap_sqlite3_column_decltype(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_decltype" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_decltype" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (char *)sqlite3_column_decltype(arg1,arg2);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_decltype16(*args) ⇒ Object



2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
# File 'ext/sqlite3_c.c', line 2984

SWIGINTERN VALUE
_wrap_sqlite3_column_decltype16(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_decltype16" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_decltype16" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (void *)sqlite3_column_decltype16(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_double(*args) ⇒ Object



3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
# File 'ext/sqlite3_c.c', line 3160

SWIGINTERN VALUE
_wrap_sqlite3_column_double(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_double" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_double" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (double)sqlite3_column_double(arg1,arg2);
  vresult = SWIG_From_double((double)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_int(*args) ⇒ Object



3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
# File 'ext/sqlite3_c.c', line 3192

SWIGINTERN VALUE
_wrap_sqlite3_column_int(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_int" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_int" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (double)sqlite3_column_int(arg1,arg2);
  vresult = SWIG_From_double((double)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_int64(*args) ⇒ Object



3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
# File 'ext/sqlite3_c.c', line 3224

SWIGINTERN VALUE
_wrap_sqlite3_column_int64(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  sqlite_int64 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_int64" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_int64" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = sqlite3_column_int64(arg1,arg2);
  {
    vresult = LONG2NUM(result);
  }
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_name(*args) ⇒ Object



2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
# File 'ext/sqlite3_c.c', line 2888

SWIGINTERN VALUE
_wrap_sqlite3_column_name(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_name" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_name" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (char *)sqlite3_column_name(arg1,arg2);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_name16(*args) ⇒ Object



2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
# File 'ext/sqlite3_c.c', line 2920

SWIGINTERN VALUE
_wrap_sqlite3_column_name16(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_name16" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_name16" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (void *)sqlite3_column_name16(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_text(*args) ⇒ Object



3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
# File 'ext/sqlite3_c.c', line 3258

SWIGINTERN VALUE
_wrap_sqlite3_column_text(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_text" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_text" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (char *)sqlite3_column_text(arg1,arg2);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_text16(*args) ⇒ Object



3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
# File 'ext/sqlite3_c.c', line 3290

SWIGINTERN VALUE
_wrap_sqlite3_column_text16(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_text16" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_text16" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (void *)sqlite3_column_text16(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_column_type(*args) ⇒ Object



3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
# File 'ext/sqlite3_c.c', line 3322

SWIGINTERN VALUE
_wrap_sqlite3_column_type(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int arg2 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_column_type" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_column_type" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)sqlite3_column_type(arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_complete(*args) ⇒ Object



1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
# File 'ext/sqlite3_c.c', line 1913

SWIGINTERN VALUE
_wrap_sqlite3_complete(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_complete" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (int)sqlite3_complete((char const *)arg1);
  vresult = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return vresult;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return Qnil;
}

.sqlite3_complete16(*args) ⇒ Object



1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
# File 'ext/sqlite3_c.c', line 1940

SWIGINTERN VALUE
_wrap_sqlite3_complete16(int argc, VALUE *argv, VALUE self) {
  void *arg1 = (void *) 0 ;
  int result;
  int res1 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_complete16" "', argument " "1"" of type '" "void const *""'"); 
  }
  result = (int)sqlite3_complete16((void const *)arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_create_function(*args) ⇒ Object



3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
# File 'ext/sqlite3_c.c', line 3402

SWIGINTERN VALUE
_wrap_sqlite3_create_function(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  void *arg5 = (void *) 0 ;
  void (*arg6)(sqlite3_context *,int,sqlite3_value **) = (void (*)(sqlite3_context *,int,sqlite3_value **)) 0 ;
  void (*arg7)(sqlite3_context *,int,sqlite3_value **) = (void (*)(sqlite3_context *,int,sqlite3_value **)) 0 ;
  void (*arg8)(sqlite3_context *) = (void (*)(sqlite3_context *)) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  VALUE vresult = Qnil;
  
  if ((argc < 8) || (argc > 8)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_create_function" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_create_function" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_create_function" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  ecode4 = SWIG_AsVal_int(argv[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "sqlite3_create_function" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  res5 = SWIG_ConvertPtr(argv[4],SWIG_as_voidptrptr(&arg5), 0, 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sqlite3_create_function" "', argument " "5"" of type '" "void *""'"); 
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_p_sqlite3_context_int_p_p_sqlite3_value__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function" "', argument " "6"" of type '" "void (*)(sqlite3_context *,int,sqlite3_value **)""'"); 
    }
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_sqlite3_context_int_p_p_sqlite3_value__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function" "', argument " "7"" of type '" "void (*)(sqlite3_context *,int,sqlite3_value **)""'"); 
    }
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_sqlite3_context__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function" "', argument " "8"" of type '" "void (*)(sqlite3_context *)""'"); 
    }
  }
  result = (int)sqlite3_create_function(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  vresult = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return vresult;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
}

.sqlite3_create_function16(*args) ⇒ Object



3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
# File 'ext/sqlite3_c.c', line 3480

SWIGINTERN VALUE
_wrap_sqlite3_create_function16(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  int arg4 ;
  void *arg5 = (void *) 0 ;
  void (*arg6)(sqlite3_context *,int,sqlite3_value **) = (void (*)(sqlite3_context *,int,sqlite3_value **)) 0 ;
  void (*arg7)(sqlite3_context *,int,sqlite3_value **) = (void (*)(sqlite3_context *,int,sqlite3_value **)) 0 ;
  void (*arg8)(sqlite3_context *) = (void (*)(sqlite3_context *)) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  VALUE vresult = Qnil;
  
  if ((argc < 8) || (argc > 8)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_create_function16" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_create_function16" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_create_function16" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  ecode4 = SWIG_AsVal_int(argv[3], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "sqlite3_create_function16" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  res5 = SWIG_ConvertPtr(argv[4],SWIG_as_voidptrptr(&arg5), 0, 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sqlite3_create_function16" "', argument " "5"" of type '" "void *""'"); 
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[5], (void**)(&arg6), SWIGTYPE_p_f_p_sqlite3_context_int_p_p_sqlite3_value__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function16" "', argument " "6"" of type '" "void (*)(sqlite3_context *,int,sqlite3_value **)""'"); 
    }
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[6], (void**)(&arg7), SWIGTYPE_p_f_p_sqlite3_context_int_p_p_sqlite3_value__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function16" "', argument " "7"" of type '" "void (*)(sqlite3_context *,int,sqlite3_value **)""'"); 
    }
  }
  {
    int res = SWIG_ConvertFunctionPtr(argv[7], (void**)(&arg8), SWIGTYPE_p_f_p_sqlite3_context__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_create_function16" "', argument " "8"" of type '" "void (*)(sqlite3_context *)""'"); 
    }
  }
  result = (int)sqlite3_create_function16(arg1,(void const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_data_count(*args) ⇒ Object



3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
# File 'ext/sqlite3_c.c', line 3040

SWIGINTERN VALUE
_wrap_sqlite3_data_count(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_data_count" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_data_count(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_errcode(*args) ⇒ Object



2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
# File 'ext/sqlite3_c.c', line 2181

SWIGINTERN VALUE
_wrap_sqlite3_errcode(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_errcode" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (int)sqlite3_errcode(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_errmsg(*args) ⇒ Object



2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
# File 'ext/sqlite3_c.c', line 2205

SWIGINTERN VALUE
_wrap_sqlite3_errmsg(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_errmsg" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (char *)sqlite3_errmsg(arg1);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_errmsg16(*args) ⇒ Object



2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'ext/sqlite3_c.c', line 2229

SWIGINTERN VALUE
_wrap_sqlite3_errmsg16(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_errmsg16" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (void *)sqlite3_errmsg16(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_finalize(*args) ⇒ Object



3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
# File 'ext/sqlite3_c.c', line 3354

SWIGINTERN VALUE
_wrap_sqlite3_finalize(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_finalize" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_finalize(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_interrupt(*args) ⇒ Object



1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
# File 'ext/sqlite3_c.c', line 1892

SWIGINTERN VALUE
_wrap_sqlite3_interrupt(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_interrupt" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  sqlite3_interrupt(arg1);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_last_insert_rowid(*args) ⇒ Object



1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
# File 'ext/sqlite3_c.c', line 1818

SWIGINTERN VALUE
_wrap_sqlite3_last_insert_rowid(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  sqlite_int64 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_last_insert_rowid" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = sqlite3_last_insert_rowid(arg1);
  {
    vresult = LONG2NUM(result);
  }
  return vresult;
fail:
  return Qnil;
}

.sqlite3_libversion(*args) ⇒ Object



1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
# File 'ext/sqlite3_c.c', line 1778

SWIGINTERN VALUE
_wrap_sqlite3_libversion(int argc, VALUE *argv, VALUE self) {
  char *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (char *)sqlite3_libversion();
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_open(*args) ⇒ Object



2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
# File 'ext/sqlite3_c.c', line 2105

SWIGINTERN VALUE
_wrap_sqlite3_open(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  sqlite3 **arg2 = (sqlite3 **) 0 ;
  int result;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  VALUE vresult = Qnil;
  
  {
    arg2 = (sqlite3**)malloc( sizeof( sqlite3* ) ); 
  }
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_open" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (int)sqlite3_open((char const *)arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  {
    vresult = output_helper(vresult, SWIG_NewPointerObj( *arg2, SWIGTYPE_p_sqlite3, 0 ));
  }
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  {
    free((sqlite3 *)arg2);
  }
  return vresult;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  {
    free((sqlite3 *)arg2);
  }
  return Qnil;
}

.sqlite3_open16(*args) ⇒ Object



2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
# File 'ext/sqlite3_c.c', line 2145

SWIGINTERN VALUE
_wrap_sqlite3_open16(int argc, VALUE *argv, VALUE self) {
  void *arg1 = (void *) 0 ;
  sqlite3 **arg2 = (sqlite3 **) 0 ;
  int result;
  int res1 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0],SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_open16" "', argument " "1"" of type '" "void const *""'"); 
  }
  res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_open16" "', argument " "2"" of type '" "sqlite3 **""'"); 
  }
  arg2 = (sqlite3 **)(argp2);
  result = (int)sqlite3_open16((void const *)arg1,arg2);
  vresult = SWIG_From_int((int)(result));
  {
    free((sqlite3 *)arg2);
  }
  return vresult;
fail:
  {
    free((sqlite3 *)arg2);
  }
  return Qnil;
}

.sqlite3_prepare(*args) ⇒ Object



2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
# File 'ext/sqlite3_c.c', line 2253

SWIGINTERN VALUE
_wrap_sqlite3_prepare(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  sqlite3_stmt **arg4 = (sqlite3_stmt **) 0 ;
  char **arg5 = (char **) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  VALUE vresult = Qnil;
  
  {
    arg4 = (sqlite3_stmt**)malloc( sizeof( sqlite3_stmt* ) ); 
  }
  {
    arg5 = (char**)malloc( sizeof( char* ) ); 
  }
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_prepare" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_prepare" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_prepare" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = (int)sqlite3_prepare(arg1,(char const *)arg2,arg3,arg4,(char const **)arg5);
  vresult = SWIG_From_int((int)(result));
  {
    vresult = output_helper(vresult, SWIG_NewPointerObj( *arg4, SWIGTYPE_p_sqlite3_stmt, 0 ));
  }
  {
    vresult = output_helper(vresult, rb_str_new2(*arg5));
  }
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  {
    free((sqlite3_stmt *)arg4);
  }
  {
    free((char *)arg5);
  }
  return vresult;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  {
    free((sqlite3_stmt *)arg4);
  }
  {
    free((char *)arg5);
  }
  return Qnil;
}

.sqlite3_prepare16(*args) ⇒ Object



2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'ext/sqlite3_c.c', line 2391

SWIGINTERN VALUE
_wrap_sqlite3_prepare16(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  sqlite3_stmt **arg4 = (sqlite3_stmt **) 0 ;
  void **arg5 = (void **) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 5) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_prepare16" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_prepare16" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_prepare16" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sqlite3_prepare16" "', argument " "4"" of type '" "sqlite3_stmt **""'"); 
  }
  arg4 = (sqlite3_stmt **)(argp4);
  res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_p_void, 0 |  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sqlite3_prepare16" "', argument " "5"" of type '" "void const **""'"); 
  }
  arg5 = (void **)(argp5);
  result = (int)sqlite3_prepare16(arg1,(void const *)arg2,arg3,arg4,(void const **)arg5);
  vresult = SWIG_From_int((int)(result));
  {
    free((sqlite3_stmt *)arg4);
  }
  return vresult;
fail:
  {
    free((sqlite3_stmt *)arg4);
  }
  return Qnil;
}

.sqlite3_prepare_v2(*args) ⇒ Object



2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'ext/sqlite3_c.c', line 2322

SWIGINTERN VALUE
_wrap_sqlite3_prepare_v2(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  sqlite3_stmt **arg4 = (sqlite3_stmt **) 0 ;
  char **arg5 = (char **) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  VALUE vresult = Qnil;
  
  {
    arg4 = (sqlite3_stmt**)malloc( sizeof( sqlite3_stmt* ) ); 
  }
  {
    arg5 = (char**)malloc( sizeof( char* ) ); 
  }
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_prepare_v2" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_prepare_v2" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_prepare_v2" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = (int)sqlite3_prepare_v2(arg1,(char const *)arg2,arg3,arg4,(char const **)arg5);
  vresult = SWIG_From_int((int)(result));
  {
    vresult = output_helper(vresult, SWIG_NewPointerObj( *arg4, SWIGTYPE_p_sqlite3_stmt, 0 ));
  }
  {
    vresult = output_helper(vresult, rb_str_new2(*arg5));
  }
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  {
    free((sqlite3_stmt *)arg4);
  }
  {
    free((char *)arg5);
  }
  return vresult;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  {
    free((sqlite3_stmt *)arg4);
  }
  {
    free((char *)arg5);
  }
  return Qnil;
}

.sqlite3_reset(*args) ⇒ Object



3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
# File 'ext/sqlite3_c.c', line 3378

SWIGINTERN VALUE
_wrap_sqlite3_reset(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_reset" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_reset(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_result_blob(*args) ⇒ Object



3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
# File 'ext/sqlite3_c.c', line 3843

SWIGINTERN VALUE
_wrap_sqlite3_result_blob(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  void (*arg4)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_blob" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_blob" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_blob" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  {
    int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_result_blob" "', argument " "4"" of type '" "void (*)(void *)""'"); 
    }
  }
  sqlite3_result_blob(arg1,(void const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_double(*args) ⇒ Object



3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
# File 'ext/sqlite3_c.c', line 3885

SWIGINTERN VALUE
_wrap_sqlite3_result_double(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_double" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  ecode2 = SWIG_AsVal_double(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_result_double" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = (double)(val2);
  sqlite3_result_double(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_error(*args) ⇒ Object



3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'ext/sqlite3_c.c', line 3914

SWIGINTERN VALUE
_wrap_sqlite3_result_error(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_error" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_error" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_error" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  sqlite3_result_error(arg1,(char const *)arg2,arg3);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
}

.sqlite3_result_error16(*args) ⇒ Object



3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
# File 'ext/sqlite3_c.c', line 3954

SWIGINTERN VALUE
_wrap_sqlite3_result_error16(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_error16" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_error16" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_error16" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  sqlite3_result_error16(arg1,(void const *)arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_int(*args) ⇒ Object



3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
# File 'ext/sqlite3_c.c', line 3989

SWIGINTERN VALUE
_wrap_sqlite3_result_int(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_int" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sqlite3_result_int" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  sqlite3_result_int(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_int64(*args) ⇒ Object



4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'ext/sqlite3_c.c', line 4018

SWIGINTERN VALUE
_wrap_sqlite3_result_int64(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  sqlite_int64 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_int64" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  {
    res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_sqlite_int64,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_int64" "', argument " "2"" of type '" "sqlite_int64""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sqlite3_result_int64" "', argument " "2"" of type '" "sqlite_int64""'");
    } else {
      arg2 = *((sqlite_int64 *)(argp2));
    }
  }
  sqlite3_result_int64(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_text(*args) ⇒ Object



4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
# File 'ext/sqlite3_c.c', line 4053

SWIGINTERN VALUE
_wrap_sqlite3_result_text(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void (*arg4)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_text" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_text" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_text" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  {
    int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_result_text" "', argument " "4"" of type '" "void (*)(void *)""'"); 
    }
  }
  sqlite3_result_text(arg1,(char const *)arg2,arg3,arg4);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return Qnil;
}

.sqlite3_result_text16(*args) ⇒ Object



4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
# File 'ext/sqlite3_c.c', line 4100

SWIGINTERN VALUE
_wrap_sqlite3_result_text16(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  void (*arg4)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_text16" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_text16" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_text16" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  {
    int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_result_text16" "', argument " "4"" of type '" "void (*)(void *)""'"); 
    }
  }
  sqlite3_result_text16(arg1,(void const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_text16be(*args) ⇒ Object



4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
# File 'ext/sqlite3_c.c', line 4184

SWIGINTERN VALUE
_wrap_sqlite3_result_text16be(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  void (*arg4)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_text16be" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_text16be" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_text16be" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  {
    int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_result_text16be" "', argument " "4"" of type '" "void (*)(void *)""'"); 
    }
  }
  sqlite3_result_text16be(arg1,(void const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_text16le(*args) ⇒ Object



4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
# File 'ext/sqlite3_c.c', line 4142

SWIGINTERN VALUE
_wrap_sqlite3_result_text16le(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  void *arg2 = (void *) 0 ;
  int arg3 ;
  void (*arg4)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_text16le" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_text16le" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "sqlite3_result_text16le" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  {
    int res = SWIG_ConvertFunctionPtr(argv[3], (void**)(&arg4), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_result_text16le" "', argument " "4"" of type '" "void (*)(void *)""'"); 
    }
  }
  sqlite3_result_text16le(arg1,(void const *)arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_result_value(*args) ⇒ Object



4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
# File 'ext/sqlite3_c.c', line 4226

SWIGINTERN VALUE
_wrap_sqlite3_result_value(int argc, VALUE *argv, VALUE self) {
  sqlite3_context *arg1 = (sqlite3_context *) 0 ;
  sqlite3_value *arg2 = (sqlite3_value *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_context, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_result_value" "', argument " "1"" of type '" "sqlite3_context *""'"); 
  }
  arg1 = (sqlite3_context *)(argp1);
  res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sqlite3_result_value" "', argument " "2"" of type '" "sqlite3_value *""'"); 
  }
  arg2 = (sqlite3_value *)(argp2);
  sqlite3_result_value(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}

.sqlite3_set_authorizer(*args) ⇒ Object



2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
# File 'ext/sqlite3_c.c', line 2031

SWIGINTERN VALUE
_wrap_sqlite3_set_authorizer(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int (*arg2)(void *,int,char const *,char const *,char const *,char const *) = (int (*)(void *,int,char const *,char const *,char const *,char const *)) 0 ;
  void *arg3 = (void *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_set_authorizer" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_int_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_set_authorizer" "', argument " "2"" of type '" "int (*)(void *,int,char const *,char const *,char const *,char const *)""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_set_authorizer" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (int)sqlite3_set_authorizer(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_step(*args) ⇒ Object



3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
# File 'ext/sqlite3_c.c', line 3016

SWIGINTERN VALUE
_wrap_sqlite3_step(int argc, VALUE *argv, VALUE self) {
  sqlite3_stmt *arg1 = (sqlite3_stmt *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_stmt, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_step" "', argument " "1"" of type '" "sqlite3_stmt *""'"); 
  }
  arg1 = (sqlite3_stmt *)(argp1);
  result = (int)sqlite3_step(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_total_changes(*args) ⇒ Object



1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
# File 'ext/sqlite3_c.c', line 1868

SWIGINTERN VALUE
_wrap_sqlite3_total_changes(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_total_changes" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  result = (int)sqlite3_total_changes(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_trace(*args) ⇒ Object



2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
# File 'ext/sqlite3_c.c', line 2068

SWIGINTERN VALUE
_wrap_sqlite3_trace(int argc, VALUE *argv, VALUE self) {
  sqlite3 *arg1 = (sqlite3 *) 0 ;
  void (*arg2)(void *,char const *) = (void (*)(void *,char const *)) 0 ;
  void *arg3 = (void *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_trace" "', argument " "1"" of type '" "sqlite3 *""'"); 
  }
  arg1 = (sqlite3 *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(argv[1], (void**)(&arg2), SWIGTYPE_p_f_p_void_p_q_const__char__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sqlite3_trace" "', argument " "2"" of type '" "void (*)(void *,char const *)""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sqlite3_trace" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (int)sqlite3_trace(arg1,arg2,arg3);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_blob(*args) ⇒ Object



3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
# File 'ext/sqlite3_c.c', line 3577

SWIGINTERN VALUE
_wrap_sqlite3_value_blob(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  VALBLOB *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_blob" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (VALBLOB *)sqlite3_value_blob(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_VALBLOB, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_bytes(*args) ⇒ Object



3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
# File 'ext/sqlite3_c.c', line 3601

SWIGINTERN VALUE
_wrap_sqlite3_value_bytes(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_bytes" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (int)sqlite3_value_bytes(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_bytes16(*args) ⇒ Object



3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
# File 'ext/sqlite3_c.c', line 3625

SWIGINTERN VALUE
_wrap_sqlite3_value_bytes16(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_bytes16" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (int)sqlite3_value_bytes16(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_double(*args) ⇒ Object



3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
# File 'ext/sqlite3_c.c', line 3649

SWIGINTERN VALUE
_wrap_sqlite3_value_double(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_double" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (double)sqlite3_value_double(arg1);
  vresult = SWIG_From_double((double)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_int(*args) ⇒ Object



3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
# File 'ext/sqlite3_c.c', line 3673

SWIGINTERN VALUE
_wrap_sqlite3_value_int(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_int" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (int)sqlite3_value_int(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_int64(*args) ⇒ Object



3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
# File 'ext/sqlite3_c.c', line 3697

SWIGINTERN VALUE
_wrap_sqlite3_value_int64(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  sqlite_int64 result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_int64" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = sqlite3_value_int64(arg1);
  {
    vresult = LONG2NUM(result);
  }
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_text(*args) ⇒ Object



3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
# File 'ext/sqlite3_c.c', line 3723

SWIGINTERN VALUE
_wrap_sqlite3_value_text(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_text" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (char *)sqlite3_value_text(arg1);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_text16(*args) ⇒ Object



3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
# File 'ext/sqlite3_c.c', line 3747

SWIGINTERN VALUE
_wrap_sqlite3_value_text16(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_text16" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (void *)sqlite3_value_text16(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_text16be(*args) ⇒ Object



3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
# File 'ext/sqlite3_c.c', line 3795

SWIGINTERN VALUE
_wrap_sqlite3_value_text16be(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_text16be" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (void *)sqlite3_value_text16be(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_text16le(*args) ⇒ Object



3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
# File 'ext/sqlite3_c.c', line 3771

SWIGINTERN VALUE
_wrap_sqlite3_value_text16le(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  void *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_text16le" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (void *)sqlite3_value_text16le(arg1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

.sqlite3_value_type(*args) ⇒ Object



3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
# File 'ext/sqlite3_c.c', line 3819

SWIGINTERN VALUE
_wrap_sqlite3_value_type(int argc, VALUE *argv, VALUE self) {
  sqlite3_value *arg1 = (sqlite3_value *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_sqlite3_value, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sqlite3_value_type" "', argument " "1"" of type '" "sqlite3_value *""'"); 
  }
  arg1 = (sqlite3_value *)(argp1);
  result = (int)sqlite3_value_type(arg1);
  vresult = SWIG_From_int((int)(result));
  return vresult;
fail:
  return Qnil;
}