
9 Aug
2005
9 Aug
'05
9:21 a.m.
On Tue, 2005-08-09 at 12:05 +0300, Krasimir Angelov wrote:
On 8/9/05, Bernard Pope
wrote: What if, say, you have some C code in your package that also wants to know the values of these paths?
Bernie.
;-)) Then you can use something like:
char *prefix, *bindir, *libdir, *datadir;
void initPaths() { #include "paths.h" }
It works for both Haskell and C if each line has ';' at the end.
Okay, C was a bad example. Pick another language :) Bernie.