[gambit-list] Arguments to conversion functions

Marc Feeley feeley at iro.umontreal.ca
Wed Jun 28 09:01:36 EDT 2017


The arg_num parameter is the argument position of the C function for which the conversion is being done.  This allows more precise error messages indicating the argument number where the conversion failed.  The special value ___RETURN_POS (127) is used when the conversion is for a function return.

Marc



> On Jun 28, 2017, at 8:27 AM, Vijay Mathew <vijay.the.lisper at gmail.com> wrote:
> 
> Hi Marc,
> 
> Could you please describe the parameters of the ___SCMOBJ_to_XXX macros?
> Especially, what is the significance of the third (arg_num) parameter?
> 
> Thanks,
> 
> --Vijay
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list