Sha256: a3b65cd55afc731147e7e3d0497e5ae3c998fbd4309800d619ee02338726ed04

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

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

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

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

    return rb_str_new_cstr(<%=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_str_f_void.c
numo-gsl-0.1.1 ext/numo/gsl/gen/tmpl/c_str_f_void.c
numo-gsl-0.1.0 ext/numo/gsl/gen/tmpl/c_str_f_void.c