[Gambas-user] Component Creation

Benoit Minisini gambas at ...1...
Wed Dec 8 10:54:53 CET 2004


On Tuesday 07 December 2004 21:10, LACKKD at ...674... wrote:
> I am trying to create a component around a c data struct that has an
> unsigned int pointer to an array called Hosts. If I have an array of my
> initial structure how do I write my wrappers so that I can index into the
> Host array? I can index successfully into my array of my structure but am
> unsure about how to index into the nested array.
>
> Do I just put unsigned int* Hosts into the structure deceleration in the
> .h file of the structure that I am creating the component out of?
>
> Thanks,
> Kevin

You should post that on the devel mailing-list...

Can you be more explicit (give some code excerpts) ? Do you want to create a 
class with an array accessor ?

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list