[gambit-list] ___VARIANT_to_SCMOBJ

Marc Feeley feeley at iro.umontreal.ca
Thu Jun 15 07:46:40 EDT 2006


On 14-Jun-06, at 10:51 PM, Timothy Ritchey wrote:

> I noticed in gambit.h that there are a host of  
> ___VARIANT_to_SCMOBJ, etc. but that there is also a line:
>
> typedef void *___VARIANT; /* not yet implemented */
>
> Is the variant in question referring to the Windows VARIANT/ 
> VARIANTARG? If so, is it still not implemented?
>
> I have need of such a beast myself, and am in the process of  
> writing conversion functions for it. If I can save myself the  
> effort, so much the better. If it is not yet implemented, and does  
> in fact refer to the Windows VARIANT structure, would anyone be  
> interested in the code when I am finished?

Yes VARIANT as in the Windows COM type.  I have a fairly complete  
implementation of the conversions to and from VARIANT, but the code  
is at least 7 years old.  I'll dig it out of my archives and send it  
to you so that you can continue hacking on it.

Marc




More information about the Gambit-list mailing list