Eric Wilhelm wrote:
Okay, but if they are all the same type of objects, you are basically only trying to wrap something like printf("%s %s %s %s", s1, s2, s3, s4) and we can forget about trying to detect integers vs floats and strings.
Correct.
Except, you have just said that you don't have to deal with typemaps. Everything is a GMP object (so, presumably, this is a blessed reference to a scalar which is the pointer's address?) In any case, it's not a guess-my-type issue any more (which it is with printf.)
Correct on all speculations.
(Basically, I'm just posting this to confirm that you are correct about all of that.)
Cheers, Rob
--
Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.