mirror of
https://github.com/yuzu-emu/sirit.git
synced 2025-03-23 12:55:19 +00:00
19 lines
422 B
C++
19 lines
422 B
C++
/* This file is part of the sirit project.
|
|
* Copyright (c) 2018 ReinUsesLisp
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
* Lesser General Public License version 2.1 or any later version.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "op.h"
|
|
#include "stream.h"
|
|
|
|
namespace Sirit {
|
|
|
|
template <typename T> inline void AddEnum(Op* op, T value) {
|
|
op->Add(static_cast<u32>(value));
|
|
}
|
|
|
|
} // namespace Sirit
|