%ignore extfun_t; %ignore funcset_t; %ignore extlang_t; %ignore extlang; %ignore extlangs_t; %ignore extlangs; %ignore register_extlang; %ignore IDCFuncs; %ignore set_idc_func; %ignore set_idc_func_ex; %ignore VarLong; %ignore VarNum; %ignore extlang_get_attr_exists; %ignore extlang_create_object_exists; %ignore create_script_object; %ignore set_script_attr; %ignore set_attr_exists; %ignore get_script_attr; %ignore extlang_get_attr_exists; %ignore extlang_compile_file; %ignore get_extlangs; %ignore create_idc_object; %ignore run_script_func; %ignore VarString; %ignore VarFloat; %ignore VarFree; %ignore calcexpr_long; %ignore Run; %ignore ExecuteLine; %ignore ExecuteFile; %ignore set_idc_func_body; %ignore get_idc_func_body; %ignore idc_stacksize; %ignore idc_calldepth; %ignore expr_printf; %ignore expr_sprintf; %ignore expr_printfer; %ignore init_idc; %ignore term_idc; %ignore create_default_idc_classes; %ignore insn_to_idc; %ignore find_builtin_idc_func; %ignore idc_mutex; %ignore idc_lx; %ignore idc_vars; %ignore idc_resolve_label; %ignore idc_resolver_ea; %ignore setup_lowcnd_regfuncs; %cstring_output_maxstr_none(char *errbuf, size_t errbufsize); /* Compile* functions return false when error so the return */ /* value must be negated for the error string to be returned */ %rename (CompileEx) CompileEx_wrap; %inline %{ bool CompileEx_wrap(const char *file, bool del_macros, char *errbuf, size_t errbufsize) { return !CompileEx(file, del_macros, errbuf, errbufsize); } %} %rename (Compile) Compile_wrap; %inline %{ bool Compile_wrap(const char *file, char *errbuf, size_t errbufsize) { return !Compile(file, errbuf, errbufsize); } %} %rename (calcexpr) calcexpr_wrap; %inline %{ bool calcexpr_wrap(ea_t where,const char *line, idc_value_t *rv, char *errbuf, size_t errbufsize) { return !calcexpr(where, line, rv, errbuf, errbufsize); } %} %rename (calc_idc_expr) calc_idc_expr_wrap; %inline %{ bool calc_idc_expr_wrap(ea_t where,const char *line, idc_value_t *rv, char *errbuf, size_t errbufsize) { return !calc_idc_expr(where, line, rv, errbuf, errbufsize); } %} %ignore CompileLine(const char *line, char *errbuf, size_t errbufsize, uval_t (idaapi*_getname)(const char *name)=NULL); %ignore CompileLineEx; %rename (CompileLine) CompileLine_wrap; %inline %{ bool CompileLine_wrap(const char *line, char *errbuf, size_t errbufsize) { return !CompileLineEx(line, errbuf, errbufsize); } %} %include "expr.hpp"