lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Could you please take the time to answer the following questions.
Thanks in advance.

Is it possible to return a 2d array from a C/C++ function

i want to pass an array that looks like this:
array[0][1]=1234324
array[0][2]="01/03/2003"

In C I am passing a struct array ie
astruct.last=123;astruct.date="01/02/2003";

Can you return array from a C/C++ function? Can you pass structs?
Thanks.