pointer array?

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 30 10:49:16 PDT 2014


On Wed, 30 Jul 2014 15:44:14 +0000, seany wrote:

> However some code is in C, legacy code, and for speed resons. So in some
> cases, I would like to send a bunch of variables , ints, dubles and
> floats to an external C function. The thing is, I do not always know the
> number of variables, so my idea was to make an array of pointers (call
> it stack), and then send the pointer to the stack itself to the C
> function.

Can you post the signatures of some of the C functions you're trying to 
interface with?


More information about the Digitalmars-d-learn mailing list