mirror of
https://github.com/cemu-project/idapython.git
synced 2025-01-13 10:29:14 +01:00
Intentation consistency and misc formatting fixes
This commit is contained in:
parent
f2e422d208
commit
7d468f3b94
@ -11,7 +11,6 @@ typedef struct
|
||||
%feature("director") DBG_Hooks;
|
||||
|
||||
%inline %{
|
||||
|
||||
int idaapi DBG_Callback(void *ud, int notification_code, va_list va);
|
||||
class DBG_Hooks
|
||||
{
|
||||
|
@ -3,7 +3,6 @@
|
||||
%include "idd.hpp"
|
||||
|
||||
%inline %{
|
||||
|
||||
char get_event_module_name(const debug_event_t* ev, char *buf, size_t bufsize)
|
||||
{
|
||||
qstrncpy(buf, ev->modinfo.name, bufsize);
|
||||
@ -51,5 +50,4 @@ bool can_exc_continue(const debug_event_t* ev)
|
||||
{
|
||||
return ev->exc.can_cont;
|
||||
}
|
||||
|
||||
%}
|
||||
|
@ -66,7 +66,6 @@
|
||||
%feature("director") IDB_Hooks;
|
||||
|
||||
%inline %{
|
||||
|
||||
int idaapi IDB_Callback(void *ud, int notification_code, va_list va);
|
||||
class IDB_Hooks
|
||||
{
|
||||
|
@ -185,9 +185,7 @@ int idc_parse_types(const char *input, int flags)
|
||||
int hti = ((flags >> 4) & 7) << HTI_PAK_SHIFT;
|
||||
|
||||
if ((flags & 1) != 0)
|
||||
{
|
||||
hti |= HTI_FIL;
|
||||
}
|
||||
|
||||
return parse_types2(input, (flags & 2) == 0 ? msg : NULL, hti);
|
||||
}
|
||||
@ -202,9 +200,7 @@ char *idc_get_type(ea_t ea, char *buf, size_t bufsize)
|
||||
int code = print_type_to_one_line(buf, bufsize, idati, type,
|
||||
NULL, NULL, fnames);
|
||||
if (code == T_NORMAL)
|
||||
{
|
||||
return buf;
|
||||
}
|
||||
} \
|
||||
return NULL;
|
||||
}
|
||||
@ -219,9 +215,7 @@ char *idc_guess_type(ea_t ea, char *buf, size_t bufsize)
|
||||
int code = print_type_to_one_line(buf, bufsize, idati, type,
|
||||
NULL, NULL, fnames);
|
||||
if (code == T_NORMAL)
|
||||
{
|
||||
return buf;
|
||||
}
|
||||
} \
|
||||
return NULL;
|
||||
}
|
||||
@ -291,5 +285,4 @@ char idc_get_local_type_name(int ordinal, char *buf, size_t bufsize)
|
||||
qstrncpy(buf, name, bufsize);
|
||||
return true;
|
||||
}
|
||||
|
||||
%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user