mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
Save types in the project file
This commit is contained in:
parent
8e726d0376
commit
1a3e09d1e8
@ -1,4 +1,4 @@
|
||||
/* radare - LGPL - Copyright 2010-2015 - pancake */
|
||||
/* radare - LGPL - Copyright 2010-2015 - pancake, maijin */
|
||||
|
||||
#include <r_types.h>
|
||||
#include <r_list.h>
|
||||
@ -330,6 +330,9 @@ R_API int r_core_project_save(RCore *core, const char *file) {
|
||||
r_cons_flush ();
|
||||
r_core_cmd (core, "ah*", 0);
|
||||
r_cons_flush ();
|
||||
r_str_write (fd, "# types\n");
|
||||
r_core_cmd (core, "t*", 0);
|
||||
r_cons_flush ();
|
||||
r_str_write (fd, "# macros\n");
|
||||
r_core_cmd (core, "(*", 0);
|
||||
r_cons_flush ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user