[breaking] Remove return value from wgpuInstanceGetWGSLLanguageFeatures (#554)
This method has no error conditions, so it should return void like
wgpuAdapter/DeviceGetFeatures and wgpuGetInstanceFeatures.
diff --git a/webgpu.h b/webgpu.h
index f22fe4b..d3618c3 100644
--- a/webgpu.h
+++ b/webgpu.h
@@ -5116,7 +5116,7 @@
* Proc pointer type for @ref wgpuInstanceGetWGSLLanguageFeatures:
* > @copydoc wgpuInstanceGetWGSLLanguageFeatures
*/
-typedef WGPUStatus (*WGPUProcInstanceGetWGSLLanguageFeatures)(WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
+typedef void (*WGPUProcInstanceGetWGSLLanguageFeatures)(WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
/**
* Proc pointer type for @ref wgpuInstanceHasWGSLLanguageFeature:
* > @copydoc wgpuInstanceHasWGSLLanguageFeature
@@ -6104,7 +6104,7 @@
/**
* Get the list of @ref WGPUWGSLLanguageFeatureName values supported by the instance.
*/
-WGPU_EXPORT WGPUStatus wgpuInstanceGetWGSLLanguageFeatures(WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
+WGPU_EXPORT void wgpuInstanceGetWGSLLanguageFeatures(WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures * features) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT WGPUBool wgpuInstanceHasWGSLLanguageFeature(WGPUInstance instance, WGPUWGSLLanguageFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
/**
* Processes asynchronous events on this `WGPUInstance`, calling any callbacks for asynchronous operations created with @ref WGPUCallbackMode_AllowProcessEvents.
diff --git a/webgpu.yml b/webgpu.yml
index 2c7fb37..d5a2483 100644
--- a/webgpu.yml
+++ b/webgpu.yml
@@ -4432,10 +4432,6 @@
- name: get_WGSL_language_features
doc: |
Get the list of @ref WGPUWGSLLanguageFeatureName values supported by the instance.
- returns:
- doc: |
- TODO
- type: enum.status
args:
- name: features
doc: |