Sha256: db833ad430a5e7c8208585374f1bf62c740832a116948c2803d4e27953f2bd53
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
<% set name: "new" set singleton: true %> /* :nodoc: */ static VALUE <%=c_func(:nodef)%>(VALUE self, const gsl_wavelet_type *t, VALUE v1) { <%=struct%> *w; size_t k; k = NUM2SIZET(v1); w = <%=func_name%>(t, k); if (!w) { rb_raise(rb_eNoMemError,"fail to allocate struct"); } return TypedData_Wrap_Struct(<%=class_var%>, &<%=data_type_var%>, (void*)w); }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
numo-gsl-0.1.2 | ext/numo/gsl/wavelet/tmpl/wavelet_new.c |
numo-gsl-0.1.1 | ext/numo/gsl/wavelet/tmpl/wavelet_new.c |
numo-gsl-0.1.0 | ext/numo/gsl/wavelet/tmpl/wavelet_new.c |