mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
minor changes
This commit is contained in:
parent
62b9382ee8
commit
06e3f4f80f
@ -1,6 +1,5 @@
|
|||||||
%{
|
%{
|
||||||
//<code(py_graph)>
|
//<code(py_graph)>
|
||||||
|
|
||||||
#define GR_HAVE_USER_HINT 0x00000001
|
#define GR_HAVE_USER_HINT 0x00000001
|
||||||
#define GR_HAVE_CLICKED 0x00000002
|
#define GR_HAVE_CLICKED 0x00000002
|
||||||
#define GR_HAVE_DBL_CLICKED 0x00000004
|
#define GR_HAVE_DBL_CLICKED 0x00000004
|
||||||
@ -24,8 +23,6 @@
|
|||||||
#define S_M_THIS "_this"
|
#define S_M_THIS "_this"
|
||||||
#define S_M_TITLE "_title"
|
#define S_M_TITLE "_title"
|
||||||
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
class py_graph_t
|
class py_graph_t
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
@ -772,7 +769,6 @@ void pyg_select_node(PyObject *self, int nid)
|
|||||||
#undef S_M_NODES
|
#undef S_M_NODES
|
||||||
#undef S_M_THIS
|
#undef S_M_THIS
|
||||||
#undef S_M_TITLE
|
#undef S_M_TITLE
|
||||||
|
|
||||||
//</code(py_graph)>
|
//</code(py_graph)>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
@ -155,12 +155,6 @@ uint32 choose_choose(PyObject *self,
|
|||||||
%{
|
%{
|
||||||
|
|
||||||
//<code(py_choose2)>
|
//<code(py_choose2)>
|
||||||
#include "Python.h"
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
|
||||||
// Chooser2 wrapper class
|
|
||||||
//-------------------------------------------------------------------------
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
static PyObject *PyObject_TryGetAttrString(PyObject *object, const char *attr)
|
static PyObject *PyObject_TryGetAttrString(PyObject *object, const char *attr)
|
||||||
@ -774,10 +768,6 @@ PyObject *choose2_find(const char *title)
|
|||||||
return c2->get_self();
|
return c2->get_self();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
//-------------------------------------------------------------------------
|
|
||||||
// End of Chooser2 wrapper class
|
|
||||||
//-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
//</code(py_choose2)>
|
//</code(py_choose2)>
|
||||||
uint32 idaapi choose_sizer(void *self)
|
uint32 idaapi choose_sizer(void *self)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user