Re: Using guile's introspection facilities

2007-02-28 Thread Kevin Ryde
Daniel Ridge [EMAIL PROTECTED] writes: SCM_DEFINE(guile_srcprops_p, srcprops?, 1, 0, 0, I don't think that's meant to be visible, merely a compact form of what's normally prsented as an alist. If you want a test then one possibility would be that it automagically shows up in goops as a

Using guile's introspection facilities

2007-02-27 Thread Daniel Ridge
Guilers, Here's a snippet of a trivial C module that makes a couple of non- visible libguile functions available for your use: SCM_DEFINE(guile_srcprops_p, srcprops?, 1, 0, 0, (SCM obj), is obj a srcprops?) #define FUNC_NAME guile_srcprops_p { if(SRCPROPSP(obj)) {