2007-10-20 09:03:51 +02:00
|
|
|
%ignore extfun_t;
|
|
|
|
%ignore funcset_t;
|
2008-10-04 14:38:29 +02:00
|
|
|
%ignore extlang_t;
|
|
|
|
%ignore extlang;
|
2010-01-05 19:24:04 +01:00
|
|
|
%ignore extlangs_t;
|
|
|
|
%ignore extlangs;
|
2008-10-04 14:38:29 +02:00
|
|
|
%ignore register_extlang;
|
2007-10-20 09:03:51 +02:00
|
|
|
%ignore IDCFuncs;
|
|
|
|
%ignore set_idc_func;
|
2010-06-28 14:36:40 +02:00
|
|
|
%ignore set_idc_func_ex;
|
2007-10-20 09:03:51 +02:00
|
|
|
%ignore VarLong;
|
|
|
|
%ignore VarNum;
|
2010-06-28 14:36:40 +02:00
|
|
|
%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;
|
2007-10-20 09:03:51 +02:00
|
|
|
%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;
|
2011-04-18 18:07:00 +02:00
|
|
|
%ignore init_idc;
|
|
|
|
%ignore term_idc;
|
|
|
|
%ignore create_default_idc_classes;
|
|
|
|
%ignore insn_to_idc;
|
2007-10-20 09:03:51 +02:00
|
|
|
%ignore find_builtin_idc_func;
|
2011-04-18 18:07:00 +02:00
|
|
|
%ignore idc_mutex;
|
2007-10-20 09:03:51 +02:00
|
|
|
%ignore idc_lx;
|
2009-01-19 20:41:24 +01:00
|
|
|
%ignore idc_vars;
|
2010-01-05 19:24:04 +01:00
|
|
|
%ignore idc_resolve_label;
|
|
|
|
%ignore idc_resolver_ea;
|
2011-04-18 18:07:00 +02:00
|
|
|
%ignore setup_lowcnd_regfuncs;
|
2007-10-20 09:03:51 +02:00
|
|
|
|
2008-04-12 09:30:46 +02:00
|
|
|
%cstring_output_maxstr_none(char *errbuf, size_t errbufsize);
|
2007-10-20 09:03:51 +02:00
|
|
|
|
2008-04-12 10:45:01 +02:00
|
|
|
/* 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)
|
|
|
|
{
|
2009-05-23 18:35:50 +02:00
|
|
|
return !CompileEx(file, del_macros, errbuf, errbufsize);
|
2008-04-12 10:45:01 +02:00
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
|
|
|
%rename (Compile) Compile_wrap;
|
|
|
|
%inline %{
|
|
|
|
bool Compile_wrap(const char *file, char *errbuf, size_t errbufsize)
|
|
|
|
{
|
2009-05-23 18:35:50 +02:00
|
|
|
return !Compile(file, errbuf, errbufsize);
|
2008-04-12 10:45:01 +02:00
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
2009-01-25 17:34:08 +01:00
|
|
|
%rename (calcexpr) calcexpr_wrap;
|
|
|
|
%inline %{
|
|
|
|
bool calcexpr_wrap(ea_t where,const char *line, idc_value_t *rv, char *errbuf, size_t errbufsize)
|
|
|
|
{
|
2009-05-23 18:35:50 +02:00
|
|
|
return !calcexpr(where, line, rv, errbuf, errbufsize);
|
2009-01-25 17:34:08 +01:00
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
|
|
|
%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)
|
|
|
|
{
|
2009-05-23 18:35:50 +02:00
|
|
|
return !calc_idc_expr(where, line, rv, errbuf, errbufsize);
|
2009-01-25 17:34:08 +01:00
|
|
|
}
|
|
|
|
%}
|
2010-01-05 19:24:04 +01:00
|
|
|
|
2008-04-12 12:11:14 +02:00
|
|
|
%ignore CompileLine(const char *line, char *errbuf, size_t errbufsize, uval_t (idaapi*_getname)(const char *name)=NULL);
|
2011-04-18 18:07:00 +02:00
|
|
|
%ignore CompileLineEx;
|
2008-04-12 12:11:14 +02:00
|
|
|
|
2008-04-12 10:45:01 +02:00
|
|
|
%rename (CompileLine) CompileLine_wrap;
|
|
|
|
%inline %{
|
|
|
|
bool CompileLine_wrap(const char *line, char *errbuf, size_t errbufsize)
|
|
|
|
{
|
2011-04-18 18:07:00 +02:00
|
|
|
return !CompileLineEx(line, errbuf, errbufsize);
|
2008-04-12 10:45:01 +02:00
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
|
|
|
%include "expr.hpp"
|
2007-10-20 09:03:51 +02:00
|
|
|
|