Reorder structs, alignment

This commit is contained in:
twinaphex 2020-08-15 01:39:22 +02:00
parent 3ec21b292c
commit 55eeb28db7
1 changed files with 3 additions and 2 deletions

View File

@ -306,6 +306,8 @@ typedef struct menu_ctx_driver
typedef struct typedef struct
{ {
uint64_t state;
/* Holds a list of search terms that may be /* Holds a list of search terms that may be
* used to filter the currently displayed * used to filter the currently displayed
* menu list */ * menu list */
@ -315,6 +317,7 @@ typedef struct
void *userdata; void *userdata;
char *core_buf; char *core_buf;
size_t core_len;
/* This is used for storing intermediary variables /* This is used for storing intermediary variables
* that get used later on during menu actions - * that get used later on during menu actions -
* for instance, selecting a shader pass for a shader * for instance, selecting a shader pass for a shader
@ -324,8 +327,6 @@ typedef struct
unsigned unsigned_var; unsigned unsigned_var;
} scratchpad; } scratchpad;
unsigned rpl_entry_selection_ptr; unsigned rpl_entry_selection_ptr;
size_t core_len;
uint64_t state;
char menu_state_msg[8192]; char menu_state_msg[8192];
/* Scratchpad variables. These are used for instance /* Scratchpad variables. These are used for instance