/*
 * Set the progress callback granularity.
 *
 * This function is not useful at the moment since you cannot specify
 * progress callbacks from within ruby (this is a TODO item).
 *
 * Example:
 *   ctx.progress_granularity = 10
 *
 */
static VALUE ctx_set_progress_granularity(VALUE self, VALUE val) {