guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Guile truly embedable ?


From: John Fitzgerald
Subject: RE: Guile truly embedable ?
Date: Fri, 4 May 2001 09:17:51 +1200

But beware that gh_lookup() returns SCM_UNDEFINED for symbols defined with
'define-public' in modules included via 'use-modules', whereas
gh_eval_str("(defined? ...)") *will* find them, at least in Guile 1.4.

> -----Original Message-----
> From: Nicholas Harbour [SMTP:address@hidden
> Sent: May 04, 2001 00:14
> To:   John Fitzgerald
> Cc:   address@hidden
> Subject:      RE: Guile truly embedable ?
> 
> >You may want to use
> >
> >  SCM gh_lookup (const char *sname);
> >
> >which expects a C-string and returns the value of the corresponding
> >Scheme variable.
> 
> Thanks!  that is pretty useful and would probably make a nice addition to
> the reference manual :)
> 
> Nicholas Harbour
> 
> 
> _______________________________________________
> Guile-user mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/guile-user
> 
> 
> 
NOTICE: The information contained in this electronic mail message and any
attachments is confidential to Pavilion Technologies, Inc. or one of its
subsidiaries and may contain proprietary information or be legally
privileged. This message and any attachments are intended only for the
personal and confidential use of the designated recipient(s). If you are not
the intended recipient or an agent responsible for delivering it to the
intended recipient, you are hereby notified that you have recieved this
message in error, and that any review, dissemination, distribution or
copying of this message and any attachments is unauthorized and strictly
prohibited. If you have received this message in error, please notify me
immediately by telephone and electronic mail, and delete this message, any
attachments, and all copies thereof. Thank you very much  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]