Page 1 of 1

Please avoid Array, List, etc as input parameters for native

Posted: Wed Jul 24, 2013 5:41 pm
by Psychophanta
Please avoid Array, List, etc as input parameters for native functions.
Main reason: It cuts the versatility when using the function.


Examples are: Set/GetMeshData() functions , which use an array as input parameter.
The use a pointer for the vertex sequence instead an Array would make things easier and more versatile for the programmer.
If a pointer is used as input parameter for the funcion there is always the possibility to pass an array, but if using an array as input parameter, then the possibilities are cutted off.


Thanks!!

Re: Please avoid Array, List, etc as input parameters for na

Posted: Fri Aug 23, 2013 7:06 pm
by Psychophanta
Is there any problem for this?
If yes, then please comment about it!

Thanks :)