Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: courgette/courgette.h

Issue 2476863004: [Courgette] AssemblyProgram: Serialize data to single raw buffer, instead of storing pointer of obj… (Closed)
Patch Set: Sync and merge. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/assembly_program.cc ('k') | courgette/memory_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/courgette.h
diff --git a/courgette/courgette.h b/courgette/courgette.h
index 5f3dbb8367a81ba5f86f85ccd92399a3f7d7e9ac..067a362513edb6c9d43f6a081817195177e4e582 100644
--- a/courgette/courgette.h
+++ b/courgette/courgette.h
@@ -5,7 +5,8 @@
#ifndef COURGETTE_COURGETTE_H_
#define COURGETTE_COURGETTE_H_
-#include <stddef.h> // Required to define size_t on GCC
+#include <cstddef>
+#include <cstdint>
#include "base/files/file_path.h"
@@ -52,7 +53,7 @@ enum Status {
// What type of executable is something
// This is part of the patch format. Never reuse an id number.
-enum ExecutableType {
+enum ExecutableType : uint8_t {
EXE_UNKNOWN = 0,
EXE_WIN_32_X86 = 1,
EXE_ELF_32_X86 = 2,
« no previous file with comments | « courgette/assembly_program.cc ('k') | courgette/memory_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698