Sha256: a49f12d24af754677f6d90dd546a18ebf03b03d6276304de1a4255e4b37073da

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

/*
  @overload <%=name%>()
  @return [Array]   array of [<%=args[0][1]%>,<%=args[1][1]%>]

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

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

    <%=func_name%>(w, &i, &j);
    return rb_assoc_new(SIZET2NUM(i), SIZET2NUM(j));
}

Version data entries

3 entries across 3 versions & 1 rubygems

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