Re: [Rd] Calling C functions with value parameters

2009-08-18 Thread Duncan Murdoch
On 18/08/2009 9:53 AM, Jeffrey J. Hallman wrote: replying to myself here, in lieu of replying to several others jhall...@frb.gov (Jeffrey J. Hallman) writes: One hassle I could do without is the necessity of writing C wrapper functions like this: void fameInit(int *status){ cfmini(status);

Re: [Rd] Calling C functions with value parameters

2009-08-18 Thread Jeffrey J. Hallman
replying to myself here, in lieu of replying to several others jhall...@frb.gov (Jeffrey J. Hallman) writes: > One hassle I could do without is the necessity of writing C wrapper functions > like this: > > void fameInit(int *status){ > cfmini(status); > return; > } > > when I want to call a l

Re: [Rd] Calling C functions with value parameters

2009-08-18 Thread Douglas Bates
On Mon, Aug 17, 2009 at 9:23 AM, Jeffrey J. Hallman wrote: > One hassle I could do without is the necessity of writing C wrapper functions > like this: > > void fameInit(int *status){ >  cfmini(status); >  return; > } > > when I want to call a library function (cfmini, in this case) that takes an >

Re: [Rd] Calling C functions with value parameters

2009-08-18 Thread Duncan Murdoch
On 17/08/2009 10:23 AM, Jeffrey J. Hallman wrote: One hassle I could do without is the necessity of writing C wrapper functions like this: void fameInit(int *status){ cfmini(status); return; } when I want to call a library function (cfmini, in this case) that takes an int argument. The .C

Re: [Rd] Calling C functions with value parameters

2009-08-18 Thread Simon Urbanek
Jeff, On Aug 17, 2009, at 10:23 , Jeffrey J. Hallman wrote: One hassle I could do without is the necessity of writing C wrapper functions like this: void fameInit(int *status){ cfmini(status); return; } when I want to call a library function (cfmini, in this case) that takes an int argu