I mean that is literally what is done in other places, the P Invoke stubs are generate very well optimized. I'm assuming they have a good reason why the length was required here (feel free to go back and check, can't be bothered rn)
@Perksey namely, struct names doesn't really matter because extensions are broken - you cannot use GetProcAddress for OpenCL and if you can't use any extensions with Silk then it's not a breaking change to break them
yeah, that's the funny bit: even the official Khtonos ICD dll (that I'm using) is not exposing cl_khr_icd extension method (clIcdGetPlatformIDsKHR) which is literally the only feature this DLL has