M
minoush82
Guest
Hello,
I use the function
Any idea what's going on?
Thanks.
I use the function
in my code with 3 arguments as specified in the documentation. The following is a code extract from my program.ds_grid_get()
But when I compile to Android/YYC I get the error:ds_grid_get(obj_persistent_score_table.score_sheet,0,i)
The functionjni/libyoyo/../../gml_Object_obj_button_submit_answer_Alarm_2.gml.cpp:94:6: error: no matching function for call to 'YYGML_ds_grid_get'
if ((YYGML_ds_grid_get((int)((int)/* First usage */o3000000000_score_sheet.asReal()),0,(int)((int)/* local */local_i.asReal())) == YYGML_CallLegacyFunction(pSelf,pOther,__ret1__,1,g_FUNC_string.val,__pArg1369__))){
^~~~~~~~~~~~~~~~~
X://yyc/include\YYGML.h:269:21: note: candidate function not viable: requires 4 arguments, but 3 were provided
YYCEXTERN YYRValue& YYGML_ds_grid_get( YYRValue& _result, int _index, int _x, int _y);
with 4 arguments compiles just fine for Android.ds_grid_set()
Any idea what's going on?
Thanks.