Migrate MagiskBoot to C++

This commit is contained in:
topjohnwu
2018-10-24 21:08:06 -04:00
parent 01e7dff1a0
commit fc8a3c5fb4
17 changed files with 683 additions and 514 deletions

View File

@ -7,6 +7,10 @@
#include <stdarg.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#define str(a) #a
#define xstr(a) str(a)
@ -42,3 +46,6 @@ void cmdline_logging();
int log_handler(log_type t, const char *fmt, ...);
#ifdef __cplusplus
}
#endif