unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* port to ostream?
@ 2002-10-24  0:03 Steve Pothier
  0 siblings, 0 replies; only message in thread
From: Steve Pothier @ 2002-10-24  0:03 UTC (permalink / raw)



I'm interfacing a C++ class library I wrote to Guile 1.6.0.

Inside I have  Print(ostream& os) method that needs to write a scheme
object. I think I should be able to use
  scm_write (SCM obj, SCM port)
to accomplish this except I don't see how to go from the OSTREAM I
have in my method to the PORT that guile wants.

Can anyone point me in the write direction?   I'm going to have to do
the reverse for (read) but I assume if I get it going one way the
opposite direction will be obvious.

I'm brand new to guile, but not to scheme or lisp.  I'm VERY excited
about the possibility of turning much of my C++ coding into scheme
programming. (which is where I'll be if I can get the C++ library
completely wired to guile)

-sp-



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-24  0:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-24  0:03 port to ostream? Steve Pothier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).