It seem there's no pointer conscept in pawn. You may
pass a array to get the resoult of the function.
I am new to pawn too.And I also want to know is there
an easy way to pass datas between native and vm.
May be you should way for answer form others.
======== 2013-04-23 06:59:24 ========
Today's Topic Summary
native functions that returns arrays [1 Update]
native functions that returns arrays
Apr 22 09:18AM -0700
I have found that there is way in PAWN to define native function that
returns arrays, as example here:
*native intersect[Rect](src1[Rect], src2[Rect])*
But I am not able to find way how to implemented it. From observing
*int AMXAPI amx_Callback(AMX *amx, cell index, cell *result, const cell
It seems to me that there is no way, since the native function returns only
one cell, that is stored into results.
Can you advice? Shall I re implement this callback or is there correct