ext/statement.cc in swift-0.10.0 vs ext/statement.cc in swift-0.11.0

- old
+ new

@@ -41,10 +41,10 @@ if (!handle) rb_raise(eSwiftRuntimeError, "Invalid object, did you forget to call #super?"); return handle->statement; } -// TODO: Change bind_values to an array in the interface? Avoid array -> splat -> array. +// array -> splat -> array is an overhead, but it reads nicer. static VALUE statement_execute(int argc, VALUE *argv, VALUE self) { VALUE bind_values, block; rb_scan_args(argc, argv, "0*&", &bind_values, &block); dbi::AbstractStatement *statement = (dbi::AbstractStatement*)statement_handle(self);