unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* scm_call_continuation gone...
@ 2002-10-05 20:45 Viktor Pavlenko
  2002-10-06 10:21 ` Marius Vollmer
  0 siblings, 1 reply; 4+ messages in thread
From: Viktor Pavlenko @ 2002-10-05 20:45 UTC (permalink / raw)


Dear Guile Wizards,

I upgraded to 1.6.0, and can't find a way to call a continuation from
C code. scm_call_continuation() is gone now...
libguile/continuations.h doesn't seem to contain anything suitable.

I really appreciate your help.

Viktor


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scm_call_continuation gone...
  2002-10-05 20:45 scm_call_continuation gone Viktor Pavlenko
@ 2002-10-06 10:21 ` Marius Vollmer
  2002-10-06 13:42   ` Viktor Pavlenko
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Vollmer @ 2002-10-06 10:21 UTC (permalink / raw)
  Cc: guile-user

Viktor Pavlenko <vvp@rogers.com> writes:

> Dear Guile Wizards,
> 
> I upgraded to 1.6.0, and can't find a way to call a continuation from
> C code. scm_call_continuation() is gone now...

Did we ever have a scm_call_continuation?  What version contained in?

In any case, you should be able to invoke continuations like any other
procedure.  For example.

  scm_call_1 (cont, arg);

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scm_call_continuation gone...
  2002-10-06 10:21 ` Marius Vollmer
@ 2002-10-06 13:42   ` Viktor Pavlenko
  2002-10-06 23:27     ` Marius Vollmer
  0 siblings, 1 reply; 4+ messages in thread
From: Viktor Pavlenko @ 2002-10-06 13:42 UTC (permalink / raw)
  Cc: guile-user

>>>>> "MV" == Marius Vollmer <mvo@zagadka.ping.de> writes:

    MV> Viktor Pavlenko <vvp@rogers.com> writes:
    >> Dear Guile Wizards,
    >> 
    >> I upgraded to 1.6.0, and can't find a way to call a
    >> continuation from C code. scm_call_continuation() is gone
    >> now...

    MV> Did we ever have a scm_call_continuation?  What version
    MV> contained in?

1.4.1, libguile/continuations.h:

extern SCM scm_call_continuation (SCM cont, SCM val);

    MV> In any case, you should be able to invoke continuations like
    MV> any other procedure.  For example.

    MV>   scm_call_1 (cont, arg);

Thanks, that makes sense.

Viktor


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scm_call_continuation gone...
  2002-10-06 13:42   ` Viktor Pavlenko
@ 2002-10-06 23:27     ` Marius Vollmer
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Vollmer @ 2002-10-06 23:27 UTC (permalink / raw)
  Cc: guile-user

Viktor Pavlenko <vvp@rogers.com> writes:

>     MV> Did we ever have a scm_call_continuation?  What version
>     MV> contained in?
> 
> 1.4.1, libguile/continuations.h:
> 
> extern SCM scm_call_continuation (SCM cont, SCM val);

Ahh, right, I haven't looked carefully enough.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-06 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-05 20:45 scm_call_continuation gone Viktor Pavlenko
2002-10-06 10:21 ` Marius Vollmer
2002-10-06 13:42   ` Viktor Pavlenko
2002-10-06 23:27     ` Marius Vollmer

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).