Unify struct names and tags
This commit is contained in:
@@ -25,8 +25,8 @@ typedef enum {
|
||||
SHELL_ERR_PROC_EXIT_FAIL,
|
||||
} CMDError;
|
||||
|
||||
typedef struct commander_result CMDResult;
|
||||
struct commander_result {
|
||||
typedef struct CMDResult CMDResult;
|
||||
struct CMDResult {
|
||||
i32 exit_code;
|
||||
CMDError error;
|
||||
b8 exited;
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
|
||||
typedef struct termcolour_data TermcolourData;
|
||||
struct termcolour_data {
|
||||
typedef struct TermcolourData TermcolourData;
|
||||
struct TermcolourData {
|
||||
HANDLE handle;
|
||||
WORD default_colour;
|
||||
WORD current_colour;
|
||||
|
||||
Reference in New Issue
Block a user