Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 991c0484 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

am a9522673: stagefright: move ARRAY_SIZE to foundation

* commit 'a9522673':
  stagefright: move ARRAY_SIZE to foundation
parents 71fb0565 a9522673
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@

#define A_BASE_H_

#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))

#define DISALLOW_EVIL_CONSTRUCTORS(name) \
    name(const name &); \
    name &operator=(const name &)
+0 −2
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@
#include <utils/threads.h>
#include <utils/Vector.h>

#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))

namespace android {

struct SoftVideoDecoderOMXComponent : public SimpleSoftOMXComponent {