Make Variant setget use set() method of Array
Make Variant setget use set() method of Array

This ensure that typed arrays are properly checked when setting an
element.

Moved the macro to a straight declaration since the macro was only used
for Array and it now is quite specific to the Array class.

Faless/godot,firefly2442/godot,ZuBsPaCe/godot,BastiaanOlij/godot,DmitriySalnikov/godot,sanikoyes/godot,akien-mga/godot,honix/godot,akien-mga/godot,Valentactive/godot,sanikoyes/godot,Shockblast/godot,firefly2442/godot,akien-mga/godot,Valentactive/godot,DmitriySalnikov/godot,Zylann/godot,pkowal1982/godot,Shockblast/godot,Valentactive/godot,vnen/godot,pkowal1982/godot,vkbsb/godot,BastiaanOlij/godot,BastiaanOlij/godot,Zylann/godot,vkbsb/godot,honix/godot,Zylann/godot,vkbsb/godot,godotengine/godot,Faless/godot,josempans/godot,firefly2442/godot,honix/godot,akien-mga/godot,pkowal1982/godot,ZuBsPaCe/godot,Shockblast/godot,sanikoyes/godot,vnen/godot,vnen/godot,akien-mga/godot,josempans/godot,Faless/godot,guilhermefelipecgs/godot,josempans/godot,godotengine/godot,pkowal1982/godot,josempans/godot,MarianoGnu/godot,honix/godot,BastiaanOlij/godot,josempans/godot,vkbsb/godot,BastiaanOlij/godot,akien-mga/godot,MarianoGnu/godot,firefly2442/godot,Zylann/godot,BastiaanOlij/godot,BastiaanOlij/godot,sanikoyes/godot,honix/godot,josempans/godot,ZuBsPaCe/godot,Valentactive/godot,firefly2442/godot,vnen/godot,Zylann/godot,Valentactive/godot,DmitriySalnikov/godot,sanikoyes/godot,godotengine/godot,vnen/godot,DmitriySalnikov/godot,vnen/godot,MarianoGnu/godot,Valentactive/godot,DmitriySalnikov/godot,firefly2442/godot,vkbsb/godot,MarianoGnu/godot,Shockblast/godot,MarianoGnu/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,sanikoyes/godot,vkbsb/godot,pkowal1982/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,vnen/godot,godotengine/godot,godotengine/godot,Faless/godot,Valentactive/godot,firefly2442/godot,Zylann/godot,MarianoGnu/godot,honix/godot,ZuBsPaCe/godot,akien-mga/godot,Faless/godot,Zylann/godot,guilhermefelipecgs/godot,Faless/godot,MarianoGnu/godot,pkowal1982/godot,sanikoyes/godot,MarianoGnu/godot,Faless/godot,vkbsb/godot,sanikoyes/godot,ZuBsPaCe/godot,firefly2442/godot,godotengine/godot,BastiaanOlij/godot,Valentactive/godot,vnen/godot,akien-mga/godot,Zylann/godot,josempans/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,godotengine/godot,Faless/godot,Shockblast/godot,vkbsb/godot,pkowal1982/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,godotengine/godot,Shockblast/godot,Shockblast/godot,ZuBsPaCe/godot,josempans/godot,Shockblast/godot,pkowal1982/godot,ZuBsPaCe/godot