[GEM-dev] gensym, gemkeyname, and char's

IOhannes m zmoelnig zmoelnig at iem.at
Mon Mar 22 19:06:34 CET 2004


James Tittle II wrote:
> hey,
> 
> (this is kinda directed to IOhannes)
> 
> ...I'm having some problems getting [gemkeyname] to work right on 
> OSX...at the moment, I'm grabbing a "macCharCode" and passing it on, but 
> the output seems to always be the keyname for the pressed key PLUS 3 
> trailing characters (non-standard ones, at that)...
> 
> ...is it possible that gensym is generating these?  Does the keyname 
> need to be null terminated?
> 

hmm, i really don't know but it might well be
(from the looks of gensym() in m_class.c it has to be 0-terminated)


mfg.a.r
IOhannes





More information about the GEM-dev mailing list