I looked up the net and some books but I didn't find nowhere something just explaining what wrappers are, can anyone explain this or give a link?
The problem arises from this piece of code:
To me it just seems a double (non in C++, but in the usual english sense) declaration of the same function, once giving a name to the variables and once not.
By the way what is the difference between declaring a function with names of its variables and only with the type of variables?
Thank you very much in advance
The problem arises from this piece of code:
Code:
static void spline(double*, double*, const int, const double, const double, double*); //! Generates interpolating coefficients for subsequent interpolation with splint Nrecipes
static void spline(double* x, double* y, const int n, double *yp1, double* ypn, double* y2) { spline(x,y,n,*yp1,*ypn,y2); } //!< wrapper
By the way what is the difference between declaring a function with names of its variables and only with the type of variables?
Thank you very much in advance
Comment