unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Using (defined? foo) from C.
@ 2003-03-28 23:11 Thamer Al-Harbash
  2003-03-29 11:31 ` Marius Vollmer
  0 siblings, 1 reply; 4+ messages in thread
From: Thamer Al-Harbash @ 2003-03-28 23:11 UTC (permalink / raw)


I'm attempting to do binding reflection with libguile from within
C. However, I cannot find a way to create a symbol without
defining it. There is no way to pass a C string to an equivalent
of scm_definedp() without using scm_define() to create the
symbol in the first place. A bit of a paradox :)

Is there anyway to create a symbol SCM in C without defining it
in the current environment? If not is there a way of passing a C
string as a symbol name to do reflection with? I'm looking for
something as simple as evaluating (defined? foo) where foo is
variable and receive the boolean value back.

-- 
Thamer Al-Harbash            http://www.whitefang.com/
	(if (> pressure too-much-pressure)
		'play-ac2 'work)


_______________________________________________
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:[~2003-04-26 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 23:11 Using (defined? foo) from C Thamer Al-Harbash
2003-03-29 11:31 ` Marius Vollmer
2003-03-29 15:20   ` Thamer Al-Harbash
2003-04-26 11:01     ` Neil Jerram

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