Aim to fix a c++ build problem

This commit is contained in:
pancake 2024-03-06 20:45:13 +01:00 committed by GitHub
parent 230a11361c
commit 4d360136fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -433,7 +433,7 @@ static bool analcall(RAnal *anal, const char *input) {
switch (input[2]) {
case 'f':
if (input[3] == '?') {
anal->coreb.help (core, &help_msg_a2f);
anal->coreb.help (core, help_msg_a2f);
return true;
}
@ -442,7 +442,7 @@ static bool analcall(RAnal *anal, const char *input) {
}
break;
default:
anal->coreb.help (core, &help_msg_a2f);
anal->coreb.help (core, help_msg_a2f);
break;
}
return true;

View File

@ -1,4 +1,4 @@
/* radare2 - LGPL - Copyright 2015-2023 - pancake */
/* radare2 - LGPL - Copyright 2015-2024 - pancake */
#ifndef R2_BIND_H
#define R2_BIND_H
@ -17,7 +17,7 @@ typedef char *(*RCoreCallAt)(void *user, ut64 addr, const char *cmd);
typedef int (*RCoreDebugBpHit)(void *core, void *bp);
typedef void (*RCoreDebugSyscallHit)(void *core);
typedef char* (*RCoreCmdStr)(void *core, const char *cmd);
typedef char* (*RCoreBindHelp)(void *core, RCoreHelpMessage *help);
typedef char* (*RCoreBindHelp)(void *core, RCoreHelpMessage help);
typedef char* (*RCoreCmdStrF)(void *core, const char *cmd, ...);
typedef void (*RCorePuts)(const char *cmd);
typedef void (*RCoreSetArchBits)(void *core, const char *arch, int bits);