Module: Kernel

Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#MPC(*args) ⇒ Object

Return new MPC instance. The same arguments as MPC.new is acceptable.



202
203
204
205
206
207
208
209
# File 'ext/mpc/ruby_mpc.c', line 202

static VALUE r_mpc_global_new(int argc, VALUE *argv, VALUE self)
{
  MPC *ptr;
  VALUE val;
  r_mpc_make_struct(val, ptr);
  r_mpc_set_initial_value(ptr, argc, argv);
  return val;
}