1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:57:34 +00:00

LibJS: Make JS_OBJECT and JS_ENVIRONMENT forward to JS_CELL

This commit is contained in:
Andreas Kling 2022-08-28 22:12:42 +02:00
parent 6e973ce69b
commit 49fd92d92a
2 changed files with 2 additions and 11 deletions

View file

@ -25,13 +25,7 @@
namespace JS {
#define JS_OBJECT(class_, base_class) \
public: \
using Base = base_class; \
virtual StringView class_name() const override \
{ \
return #class_##sv; \
}
#define JS_OBJECT(class_, base_class) JS_CELL(class_, base_class)
struct PrivateElement {
enum class Kind {