mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibWeb: Remove now-unused Bindings::wrap()
This commit is contained in:
parent
266136b32f
commit
1bd4ad8b6d
1 changed files with 3 additions and 7 deletions
|
@ -26,10 +26,6 @@ namespace Web::Bindings {
|
||||||
|
|
||||||
#define WRAPPER_HACK(class_, namespace_) \
|
#define WRAPPER_HACK(class_, namespace_) \
|
||||||
namespace Web::Bindings { \
|
namespace Web::Bindings { \
|
||||||
inline JS::Object* wrap(JS::Realm&, namespace_::class_& object) \
|
|
||||||
{ \
|
|
||||||
return &object; \
|
|
||||||
} \
|
|
||||||
using class_##Wrapper = namespace_::class_; \
|
using class_##Wrapper = namespace_::class_; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue