示例#1
0
文件: interp.go 项目: dtromb/gogsl
func (x *GslInterpAccel) Dispose() {
	C.gsl_interp_accel_free((*C.gsl_interp_accel)(unsafe.Pointer(x.Ptr())))
}
示例#2
0
文件: spline.go 项目: npadmana/npgo
// Free frees the spline variables
func (s *Spline) Free() {
	C.gsl_interp_accel_free(s.acc)
	C.gsl_spline_free(s.sp)
}