diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-15 06:15:27 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-15 06:15:27 +0100 |
| commit | 2fa1f3ac7f960e4bf306e53c1aac06fe0e31a4ba (patch) | |
| tree | eecbcd552c7872f0b41756abcb9a3e81113b99d3 /src/report-python/common.h | |
| parent | b1f4a3256004e8f12c15511d2b77074a3002b9f2 (diff) | |
| download | abrt-2fa1f3ac7f960e4bf306e53c1aac06fe0e31a4ba.tar.gz abrt-2fa1f3ac7f960e4bf306e53c1aac06fe0e31a4ba.tar.xz abrt-2fa1f3ac7f960e4bf306e53c1aac06fe0e31a4ba.zip | |
simplify python wrapper code
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/report-python/common.h')
| -rw-r--r-- | src/report-python/common.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/report-python/common.h b/src/report-python/common.h new file mode 100644 index 00000000..b3ae61b4 --- /dev/null +++ b/src/report-python/common.h @@ -0,0 +1,25 @@ +/* + Copyright (C) 2009 Abrt team. + Copyright (C) 2009 RedHat inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +#include <Python.h> + +/* exception object */ +extern PyObject *ReportError; + +/* crash_data type object */ +extern PyTypeObject p_crash_data_type; |
