summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Demos/VirGLDemo/VirGLProtocol.h4
-rw-r--r--Userland/Libraries/LibThreading/Thread.h2
-rw-r--r--Userland/Libraries/LibWasm/Opcode.h2
-rw-r--r--Userland/Libraries/LibWasm/Types.h18
4 files changed, 13 insertions, 13 deletions
diff --git a/Userland/Demos/VirGLDemo/VirGLProtocol.h b/Userland/Demos/VirGLDemo/VirGLProtocol.h
index 21d9da96bc..15d4afa583 100644
--- a/Userland/Demos/VirGLDemo/VirGLProtocol.h
+++ b/Userland/Demos/VirGLDemo/VirGLProtocol.h
@@ -8,8 +8,8 @@
#include <AK/DistinctNumeric.h>
-TYPEDEF_DISTINCT_ORDERED_ID(u32, ObjectHandle);
-TYPEDEF_DISTINCT_ORDERED_ID(u32, ResourceID);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(u32, ObjectHandle);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(u32, ResourceID);
#define VIRGL_BIND_DEPTH_STENCIL (1 << 0)
#define VIRGL_BIND_RENDER_TARGET (1 << 1)
diff --git a/Userland/Libraries/LibThreading/Thread.h b/Userland/Libraries/LibThreading/Thread.h
index dec19c248a..d1e1aa9b7a 100644
--- a/Userland/Libraries/LibThreading/Thread.h
+++ b/Userland/Libraries/LibThreading/Thread.h
@@ -16,7 +16,7 @@
namespace Threading {
-TYPEDEF_DISTINCT_ORDERED_ID(intptr_t, ThreadError);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(intptr_t, ThreadError);
class Thread final : public Core::Object {
C_OBJECT(Thread);
diff --git a/Userland/Libraries/LibWasm/Opcode.h b/Userland/Libraries/LibWasm/Opcode.h
index 9976314a88..0dda2b7f44 100644
--- a/Userland/Libraries/LibWasm/Opcode.h
+++ b/Userland/Libraries/LibWasm/Opcode.h
@@ -10,7 +10,7 @@
namespace Wasm {
-TYPEDEF_DISTINCT_ORDERED_ID(u32, OpCode);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(u32, OpCode);
namespace Instructions {
diff --git a/Userland/Libraries/LibWasm/Types.h b/Userland/Libraries/LibWasm/Types.h
index 844cfe996b..3725cb0425 100644
--- a/Userland/Libraries/LibWasm/Types.h
+++ b/Userland/Libraries/LibWasm/Types.h
@@ -48,15 +48,15 @@ String parse_error_to_string(ParseError);
template<typename T>
using ParseResult = Result<T, ParseError>;
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, TypeIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, FunctionIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, TableIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, ElementIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, MemoryIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, LocalIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, GlobalIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, LabelIndex);
-TYPEDEF_DISTINCT_ORDERED_ID(size_t, DataIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, TypeIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, FunctionIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, TableIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, ElementIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, MemoryIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, LocalIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, GlobalIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, LabelIndex);
+AK_TYPEDEF_DISTINCT_ORDERED_ID(size_t, DataIndex);
AK_TYPEDEF_DISTINCT_NUMERIC_GENERAL(u64, true, true, false, true, false, true, InstructionPointer);
ParseError with_eof_check(InputStream const& stream, ParseError error_if_not_eof);