Opening git commit works properly now
This commit is contained in:
@@ -1106,6 +1106,18 @@ struct Scratch {
|
||||
Scratch(Scratch &arena, Scratch &a2);
|
||||
};
|
||||
|
||||
struct RandomSeed {
|
||||
uint64_t a;
|
||||
};
|
||||
|
||||
inline uint64_t GetRandomU64(RandomSeed *state) {
|
||||
uint64_t x = state->a;
|
||||
x ^= x << 13;
|
||||
x ^= x >> 7;
|
||||
x ^= x << 17;
|
||||
return state->a = x;
|
||||
}
|
||||
|
||||
//
|
||||
// Implementation
|
||||
//
|
||||
|
||||
@@ -40,11 +40,13 @@ struct StdoutPollInfo {
|
||||
};
|
||||
|
||||
struct Process {
|
||||
bool is_valid;
|
||||
String error_message;
|
||||
int exit_code;
|
||||
bool is_valid;
|
||||
String error_message;
|
||||
int exit_code;
|
||||
char platform[6 * 8];
|
||||
|
||||
int64_t view_id; // text editor view
|
||||
char platform[6 * 8];
|
||||
bool scroll_to_end;
|
||||
};
|
||||
|
||||
Process CreateCommandLineProcess(String command_line, String working_dir);
|
||||
|
||||
Reference in New Issue
Block a user