From: stefan <stefan@lkcc.org>
Cc: guile-user@gnu.org
Subject: Re: scm_c_define_gsubr() and modules in Guile 1.6
Date: Mon, 28 Apr 2003 19:09:24 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0304281903190.886-100000@bono.reversers.net> (raw)
In-Reply-To: <871xzmob33.fsf@raven.i.defaultvalue.org>
On Mon, 28 Apr 2003, Rob Browning wrote:
> stefan <stefan@lkcc.org> writes:
>
> > A short question about symbols created by scm_c_define_gsubr() or
> > scm_c_define(): Why can't these symbols not be used within modules
> > like this:
>
> I'm not sure I follow your question. Could you rephrase?
Sorry for my bad english, please... next try:
I do have a .c file containing e.g.
scm_c_define("my_symbol", ...)
then I can use 'my_symbol' in normal .scm files. So far, so good.
But when do create a .scm file which contains this:
(define-module (test-suite))
...
(my-symbol ...)
...
(export test-suite)
And then I have a nother .scm file which contains:
(use-modules (test-suite))
...
(test-suite)
(This imports the above module file, which wants to evaluate the symbol
'my_symbol')
This does not work in Guile 1.6 and above, it worked in Guile 1.4 version.
Why is the symbol 'my_symbol' not visible in the module? How can I
achieve it without recoding the .c file?
Thanks in advacne,
stefan@lkcc.org
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
prev parent reply other threads:[~2003-04-28 17:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-26 19:11 scm_c_define_gsubr() and modules in Guile 1.6 stefan
2003-04-28 16:12 ` Rob Browning
2003-04-28 17:09 ` stefan [this message]
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=Pine.LNX.4.44.0304281903190.886-100000@bono.reversers.net \
--to=stefan@lkcc.org \
--cc=guile-user@gnu.org \
/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).