From 628fb1fbae2a9e3e8fc3add070bceb5557973029 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 16 Dec 2010 18:28:07 +0100 Subject: create_dump_dir: add base_dir_name parameter. This makes python wrappers more usable. src/report-python/test_full demonstrates how pyhton programs can run reporting now. Signed-off-by: Denys Vlasenko --- src/report-python/reportmodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/report-python/reportmodule.c') diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c index db9f52d9..13184cc0 100644 --- a/src/report-python/reportmodule.c +++ b/src/report-python/reportmodule.c @@ -22,9 +22,10 @@ PyObject *ReportError; static PyMethodDef module_methods[] = { + /* method_name, func, flags, doc_string */ { "dd_opendir" , p_dd_opendir, METH_VARARGS, NULL }, { "dd_create" , p_dd_create, METH_VARARGS, NULL }, -// { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS, NULL }, + { "delete_dump_dir", p_delete_dump_dir, METH_VARARGS, NULL }, { NULL } }; -- cgit