Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
openkraken-bot committed Dec 10, 2021
1 parent 89159c9 commit 35e4fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion bridge/bindings/qjs/bom/performance.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ class Performance : public HostObject {
DEFINE_FUNCTION(mark, 1);
DEFINE_FUNCTION(measure, 4);


#if ENABLE_PROFILE
DEFINE_FUNCTION(__kraken_navigation_summary__, 0)
#endif
Expand Down
5 changes: 2 additions & 3 deletions bridge/bindings/qjs/js_context_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@
ObjectProperty __##PROPERTY##__ { m_context, m_prototypeObject, #PROPERTY, PROPERTY##PropertyDescriptor::getter }

#define DEFINE_PROTOTYPE_FUNCTION(PROPERTY, ARGS_COUNT) \
ObjectFunction __##PROPERTY##__{ m_context, m_prototypeObject, #PROPERTY, PROPERTY, ARGS_COUNT }
ObjectFunction __##PROPERTY##__ { m_context, m_prototypeObject, #PROPERTY, PROPERTY, ARGS_COUNT }

#define DEFINE_FUNCTION(PROPERTY, ARGS_COUNT) \
ObjectFunction __##PROPERTY##__{ m_context, jsObject, #PROPERTY, PROPERTY, ARGS_COUNT }

ObjectFunction __##PROPERTY##__ { m_context, jsObject, #PROPERTY, PROPERTY, ARGS_COUNT }

#define DEFINE_PROTOTYPE_PROPERTY(PROPERTY) \
class PROPERTY##PropertyDescriptor { \
Expand Down

0 comments on commit 35e4fab

Please sign in to comment.