refactor: replace all typedef with using (#10594)
This commit is contained in:
parent
af2fdb5d58
commit
4078e1d17c
9 changed files with 31 additions and 31 deletions
|
|
@ -5,8 +5,8 @@
|
|||
#include "math/Math.hpp"
|
||||
#include <aquamarine/backend/Misc.hpp>
|
||||
|
||||
typedef uint32_t DRMFormat;
|
||||
typedef uint32_t SHMFormat;
|
||||
using DRMFormat = uint32_t;
|
||||
using SHMFormat = uint32_t;
|
||||
|
||||
struct SPixelFormat {
|
||||
DRMFormat drmFormat = 0; /* DRM_FORMAT_INVALID */
|
||||
|
|
@ -20,7 +20,7 @@ struct SPixelFormat {
|
|||
Vector2D blockSize;
|
||||
};
|
||||
|
||||
typedef Aquamarine::SDRMFormat SDRMFormat;
|
||||
using SDRMFormat = Aquamarine::SDRMFormat;
|
||||
|
||||
namespace NFormatUtils {
|
||||
SHMFormat drmToShm(DRMFormat drm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue