This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: global variables & data tags (a la X-Windows callbacks)


Robert Brown writes:

 > Hi again.  I was noticing that there are two functions in gh.h:
 > 
 > void gh_set_ext_data(SCM, void*)
 > void gh_get_ext_data(SCM)
 > 
 > These look like the same concept as "properties", only specifically
 > for pointers.  They are commented out.  Do you know if this means
 > that they will be implemented in the future?  I think they would be a
 > lot easier to use than "properties" due to having to make a new smob
 > just for this one pointer.

i don't know what the status of those funcs are.  my suspicion is that
they are to be removed.  making smobs isn't that difficult.  there's a
tutorial on the Net somewhere...

thi