Re: [pure-lang-users] C macros
Status: Beta
Brought to you by:
agraef
From: Eddie R. <er...@bm...> - 2008-08-25 17:39:26
|
On Mon, 2008-08-25 at 12:34 -0500, Eddie Rucker wrote: > How do I import constants defined as macros in C? > > Example: > GSL has M_EULER defined as > > #ifndef M_EULER > #define M_EULER 0.57721566490153286060651209008 /* Euler > constant */ > #endif > > I want to be able to access that from gsl.pure. > > using "lib.libgsl"; > > extern ??? and also macros like #define GSL_FN_FDF_EVAL_DF(FDF,x) (*((FDF)->df))(x,(FDF)->params) e.r. |