Sha256: fa93d47f2c692e3e4bddff9dcaf705e63dabe6762083e2f1782f59defc4a9ebe

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

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

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

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

    stat = <%=func_name%>(w, w1);
    return (stat) ? Qtrue: Qfalse;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
numo-gsl-0.1.2 ext/numo/gsl/histogram/tmpl/c_bool_f_other.c
numo-gsl-0.1.1 ext/numo/gsl/histogram/tmpl/c_bool_f_other.c
numo-gsl-0.1.0 ext/numo/gsl/histogram/tmpl/c_bool_f_other.c