mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-08-25 06:31:43 +02:00
safer struct
This commit is contained in:
parent
64081e46ad
commit
acff2de611
@ -649,11 +649,11 @@ typedef struct trexio_s trexio_t;
|
||||
#+begin_src c :tangle prefix_s_front.h
|
||||
struct trexio_s {
|
||||
char file_name[TREXIO_MAX_FILENAME_LENGTH];
|
||||
char version[16];
|
||||
pthread_mutex_t thread_lock;
|
||||
back_end_t back_end;
|
||||
char mode;
|
||||
bool one_based;
|
||||
char version[16];
|
||||
char padding[6]; /* Ensures the proper alignment of back ends */
|
||||
};
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user