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

Commit 325389dd authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Introduce gd/os/log:CASE_RETURN_TEXT am: 3cea6b7b am: df4babc2 am: 22840192

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1568969

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id36aa91feede26f0244c7adb1f5753909b89d855
parents 1d23f8f1 22840192
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -118,3 +118,9 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG is null after header inclusion");
      LOG_ALWAYS_FATAL("assertion '" #condition "' failed - " fmt, ##args); \
    }                                                                       \
  } while (false)

#ifndef CASE_RETURN_TEXT
#define CASE_RETURN_TEXT(code) \
  case code:                   \
    return #code
#endif