From: Victor Morilla <victormorilla@yahoo.es>
Subject: Invoking guile procs from C in an efficient way
Date: Mon, 25 Oct 2004 13:12:29 +0200 (CEST) [thread overview]
Message-ID: <20041025111229.42206.qmail@web60109.mail.yahoo.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 434 bytes --]
Hello,
I would like to know the best way to resolve a proc symbol from its name and call it from c. Right now, I'm using:
SCM proc = scm_c_eval_string("my_proc");
scm_apply(proc, argslist, SCM_EOL);
Is there an alternative to scm_c_eval_string ? I have used scm_c_lookup
SCM proc = scm_c_lookup("my_proc");
scm_apply(proc, argslist, SCM_EOL);
, but I get an error
Thanks in advance
---------------------------------
[-- Attachment #1.2: Type: text/html, Size: 889 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2004-10-25 11:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 11:12 Victor Morilla [this message]
2004-10-25 14:18 ` Invoking guile procs from C in an efficient way Andreas Rottmann
2004-10-25 16:51 ` Rob Browning
-- strict thread matches above, loose matches on Subject: below --
2004-10-26 20:58 Victor Morilla
2004-10-27 3:12 ` Rob Browning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041025111229.42206.qmail@web60109.mail.yahoo.com \
--to=victormorilla@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).