From d05ef16b13c1a1f7554dfc6761410916e73b9761 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Sun, 18 Jan 2009 15:45:52 +0000 Subject: [PATCH] kernwin.i: %ignore statements moved to top kernwin.i: Ignoring cli_t (for IDA 5.4) --- swig/kernwin.i | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/swig/kernwin.i b/swig/kernwin.i index 1e52040..fb4f32a 100644 --- a/swig/kernwin.i +++ b/swig/kernwin.i @@ -1,3 +1,26 @@ +// Ignore the va_list functions +%ignore AskUsingForm_cv; +%ignore close_form; +%ignore vaskstr; +%ignore vasktext; +%ignore vwarning; +%ignore vinfo; +%ignore vnomem; +%ignore vmsg; +%ignore show_wait_box_v; +%ignore askbuttons_cv; +%ignore askfile_cv; +%ignore askyn_cv; +%ignore askyn_v; +// Ignore these string functions. There are trivial replacements in Python. +%ignore addblanks; +%ignore trim; +%ignore skipSpaces; +%ignore stristr; + +// Ignore the cli_t class +%ignore cli_t; + %include "typemaps.i" // Make askaddr(), askseg(), and asklong() return a @@ -49,26 +72,6 @@ def askseg(defval, format): # This is for read_selection() %apply unsigned long *OUTPUT { ea_t *ea1, ea_t *ea2 }; -// Ignore the va_list functions -%ignore AskUsingForm_cv; -%ignore close_form; -%ignore vaskstr; -%ignore vasktext; -%ignore vwarning; -%ignore vinfo; -%ignore vnomem; -%ignore vmsg; -%ignore show_wait_box_v; -%ignore askbuttons_cv; -%ignore askfile_cv; -%ignore askyn_cv; -%ignore askyn_v; -// Ignore these string functions. There are trivial replacements in Python. -%ignore addblanks; -%ignore trim; -%ignore skipSpaces; -%ignore stristr; - %{ bool idaapi py_menu_item_callback(void *userdata) { @@ -290,4 +293,3 @@ class Choose: """ return _idaapi.choose_choose(self, self.flags, self.x0, self.y0, self.x1, self.y1, self.width) %} -