Migrate to IDL mixin syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-01 18:45:26 +09:00
parent 1b6715158d
commit d6c58b8226
46 changed files with 187 additions and 204 deletions

View file

@ -29,8 +29,7 @@ typedef unsigned long long GLuint64;
// typedef ([AllowShared] Uint32Array or sequence<GLuint>) Uint32List;
[NoInterfaceObject]
interface WebGL2RenderingContextBase
interface mixin WebGL2RenderingContextBase
{
const GLenum READ_BUFFER = 0x0C02;
const GLenum UNPACK_ROW_LENGTH = 0x0CF2;
@ -587,5 +586,5 @@ interface WebGL2RenderingContextBase
interface WebGL2RenderingContext
{
};
WebGL2RenderingContext implements WebGLRenderingContextBase;
WebGL2RenderingContext implements WebGL2RenderingContextBase;
WebGL2RenderingContext includes WebGLRenderingContextBase;
WebGL2RenderingContext includes WebGL2RenderingContextBase;