mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb/Bindings: Use IDL context to determine 'is platform object'
This commit is contained in:
committed by
Shannon Booth
parent
83f4e03045
commit
83427086fa
Notes:
github-actions[bot]
2026-04-24 18:10:16 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/83427086fa2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/9064
@@ -27,6 +27,3 @@ interface CSSRule {
|
||||
|
||||
4. Forward declare the generated class in [`LibWeb/Forward.h`](../Libraries/LibWeb/Forward.h):
|
||||
- `HTMLDetailsElement` in its namespace.
|
||||
|
||||
5. If your type isn't an Event or Element, you will need to add it to [`is_platform_object()`](../Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp)
|
||||
so that it can be accepted as an IDL parameter, attribute or return type.
|
||||
|
||||
Reference in New Issue
Block a user