Sha256: 352608071e5bc208095121c1922657df281c7360fadfed2579ae1daf2a7a40d1

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

/*
  @overload <%=name%>(<%=args[1][1]%>)
  @param  [Float]  <%=args[1][1]%>
  @return [Qnil]

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

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

    <%=func_name%>(w, NUM2DBL(v1));
    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.c
numo-gsl-0.1.1 ext/numo/gsl/gen/tmpl/c_void_f_double.c
numo-gsl-0.1.0 ext/numo/gsl/gen/tmpl/c_void_f_double.c