Sha256: 21d90353719bf726f7ecc49e0281778a89ff13b60dc826339fc42189f5486449

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

/*
  @overload <%=name%>
  @return [Float]

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

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

    return DBL2NUM(<%=func_name%>(w));
}

Version data entries

3 entries across 3 versions & 1 rubygems

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