Thread
:
Get sizeof array in a macro
View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
06-22-2018 , 04:20 Re: Get sizeof array in a macro
#
5
#define calculateArray2D(%1,%2,%3) _calculateArray2D(%1,%2,sizeof %3)
stock _calculateArray2D(array[][], num, size)
{
//some unimportant stuff here
}
Example >> calculateArray2D(2Darray[0], 2, 2Darray[])
Am not sure what are you trying to do it really depends on it.
__________________
@Jailbreak Main Mod v2.7.0
100%
@User Tag Prefix
100%
done !
@Mystery Box
100%
done !
@VIP System
100%
done !
Last edited by Natsheh; 06-22-2018 at
04:22
.
Natsheh
View Public Profile
Send a private message to Natsheh
Find More Posts by Natsheh