/**
 * call-seq:
 *     changes( db ) -> fixnum
 *
 * Returns the number of changed rows affected by the last operation.
 * (Note: doing a "delete from table" without a where clause does not affect
 * the result of this method--see the documentation for SQLite itself for
 * the reason behind this.)
 */
static VALUE
static_api_changes( VALUE module, VALUE db )
{
  sqlite *handle;

  GetDB( handle, db );

  return INT2FIX( sqlite_changes( handle ) );
}