Sha256: f86218c1aa2589b98fd045fb8521cf80c4d912556bf1ab63fddda5d6ef14cd8e

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

/*
  @overload <%=name%>(<%=args[1..2].map{|a| a[1]}.join(",")%>)
  @param  [Float]  <%=args[1][1]%>
  @param  [Float]  <%=args[2][1]%>
  @return [Qnil]

  <%= description %>
*/
static VALUE
<%=c_func(2)%>(VALUE self, VALUE v1, VALUE v2)
{
    <%=struct%> *w;

    TypedData_Get_Struct(self, <%=struct%>, &<%=data_type_var%>, w);

    <%=func_name%>(w, NUM2DBL(v1), NUM2DBL(v2));
    return Qnil;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
numo-gsl-0.1.2 ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c
numo-gsl-0.1.1 ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c
numo-gsl-0.1.0 ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c