It looks like you're new here. If you want to get involved, click one of these buttons!
}else if (strcmp(what, "pathfileexists") == 0) // new 20221116 XXX { std::wstring path = ws(args[0].s.c_str()); int m = 0; // modes: 0=Existence only, 2=Write-only, 4=Read-only, 6=Read and write if (args.size() >= 2) { m = args[1].d; if (m != 0 || m != 2 || m != 4 || m != 6) m = 0; } int retValue = _waccess(path.c_str(), m); // 0 = OK, else -1 if (retValue == 0) { r.type=gapplication_Variant::DOUBLE; // r.d=retValue; // 0 = OK, else -1, not so good in lua!? r.d=1; // for lua 1=OK otherwise nil, looks better?! rets.push_back(r); } /*------------------------------------------------------------------*/ |
Comments
Likes: talis
Likes: talis
PS2: I personaly don't use those functions (cursor and min max) for win32 for now so I leave them as is.
PS3: spoiler alert ... hgy29 added gideros gltf animations
Viva Gideros luau c++
For example I see in the c++ code some TODO, do they alter how bump.lua is working?