added PyWraps sources. This will facilitate deployment, development and debugging of IDAPython additions

This commit is contained in:
elias.bachaalany@gmail.com
2011-12-02 15:40:11 +00:00
parent 1258fab948
commit 930d7cbcd4
69 changed files with 24434 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "py_bytes.hpp"
//--------------------------------------------------------------------------
static PyObject *ex_nextthat(PyObject *self, PyObject *args)
{
PyObject *callback;
pyul_t addr, bound;
if ( !PyArg_ParseTuple(args, PY_FMT64 PY_FMT64 "O", &addr, &bound, &callback) )
return NULL;
return Py_BuildValue("i", py_nextthat(pyul_t(addr), pyul_t(bound), callback));
}
//--------------------------------------------------------------------------
static PyMethodDef py_methods_bytes[] =
{
{"nextthat", ex_nextthat, METH_VARARGS, ""},
{NULL, NULL, 0, NULL}
};
DRIVER_INIT_METHODS(bytes);