Re: clines-from-file - The argument to CLINES, LINE, is not a string
- From: bojohan+news@xxxxxxxxxxxxxx (Johan Bockgård)
- Date: Mon, 31 Oct 2005 03:30:31 +0100
xbunny <xbunny@xxxxxxxxxxxxxx> writes:
> There is a great macro in ECL called Clines which allows me to paste
> C code into the ECL C output file and then other parts of ECL allow
> me to access and call that code once its compiled. What Im trying to
> do is write a function which allows me to read a file and puts its
> contents into Clines rather than having the C embedded as strings in
> the Lisp source. However I am a clueless newbie :-( I have the
> following function :
Too complicated. Try
(clines "#include \"some-file.c\"")
--
Johan Bockgård
.
- References:
- Prev by Date: Re: Bicubic resizing algorithm for Lisp
- Next by Date: Re: Lispnik logo (was Re: Lisp Logo Madness!)
- Previous by thread: Re: clines-from-file - The argument to CLINES, LINE, is not a string
- Next by thread: Unable to asdf-install clsql in OpenMCL on Mac OS X
- Index(es):
Relevant Pages
|