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

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

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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8b04c7afebe3e23ed522b2c19d34d3a91a831911
parents 755badbd 3cea6b7b
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