[Ecls-list] Lisp version of stream_to_handle

Dave Roberts dave at vyatta.com
Wed Aug 16 14:58:05 UTC 2006


Getting access to stream_to_handle requires a small change to make it
non-static. Otherwise it can't resolve the symbol. Please apply.

-- Dave


cvs diff: Diffing .
Index: unixsys.d
===================================================================
RCS file: /project/ecl/cvsroot/ecl/src/c/unixsys.d,v
retrieving revision 1.36
diff -u -r1.36 unixsys.d
--- unixsys.d   26 Jun 2006 09:01:42 -0000      1.36
+++ unixsys.d   16 Aug 2006 14:40:01 -0000
@@ -87,7 +87,7 @@
 #endif
 }

-static int
+int
 stream_to_handle(cl_object s, bool output)
 {
        FILE *f;
cvs diff: Diffing arch
cvs diff: Diffing new
cvs diff: Diffing old


On Mon, 2006-08-14 at 11:10 -0700, Dave Roberts wrote:
> Okay, no worries. That's what I figured. I'll go write up the linkage 
> myself. How do I pass an object from Lisp to C and have it exist as a 
> cl_object in C-world? Is that the :object type to c-inline?
> 
> Also, are all the functions in the SI package documented somewhere (and 
> the other nonstandard, ecl-specific packages)? I have found myself going 
> through lots of dumps of package symbols trying to find out whether 
> there is a system-related function that is close to what I want. It 
> would be nice to have this stuff listed in one place along with 
> documentation.
> 
> -- Dave
> 
> Juan Jose Garcia-Ripoll wrote:
> > No. Too easy to code it using c-inline :-)
> >  
> > Juanjo
> > 
> >  
> > 2006/8/13, Dave Roberts <dave at vyatta.com <mailto:dave at vyatta.com>>:
> > 
> >     The C function stream_to_handle in src/c/unixsys.d is pretty useful to
> >     me. Is there a Lisp version of this already in ECL someplace?
> > 
> >     -- Dave
> > 
> > 
> > 
> >     -------------------------------------------------------------------------
> >     Using Tomcat but need to do more? Need to support web services,
> >     security?
> >     Get stuff done quickly with pre-integrated technology to make your
> >     job easier
> >     Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >     Geronimo
> >     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> >     _______________________________________________
> >     Ecls-list mailing list
> >     Ecls-list at lists.sourceforge.net <mailto:Ecls-list at lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/ecls-list
> > 
> > 
> > 
> > 
> > -- 
> > Max-Planck-Institut für Quantenoptik
> > Hans-Kopfermann-Str. 1, Garching, D-85748, Germany
> > Phone: +49 89 32905 345   Fax: +49 89 32905 336
> > http://www.mpq.mpg.de/Theorygroup/CIRAC/
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list





More information about the ecl-devel mailing list